Skip to content

Commit

Permalink
Merge pull request #1 from GordonZhang2024/master
Browse files Browse the repository at this point in the history
Update __init__.py
  • Loading branch information
GordonZhang2024 committed Apr 30, 2024
2 parents 8a22632 + 6f79a06 commit 8ad5a06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/xss_shield/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ def escape(s: str) -> str:
.replace(' ', '-')\
.replace("'", "'")\
.replace('"', """)\
.replace(';', '&#59')
.replace(';', '&#59')\
.replace('/', '&#47')\

return s

0 comments on commit 8ad5a06

Please sign in to comment.