Skip to content

Commit

Permalink
Fix: Change ancor to anchor on line 349
Browse files Browse the repository at this point in the history
  • Loading branch information
s111s authored May 5, 2019
1 parent e791059 commit d51304b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ The `SanitizeHelper` module provides a set of methods for scrubbing text of unde
## RULE \#7 - Avoid JavaScript URL's
Untrusted URL's that include the protocol javascript: will execute javascript code when used in URL DOM locations such as ancor tag HREF attributes or iFrame src locations. Be sure to validate all untrusted URL's to ensure they only contain safe schemes such as HTTPS.
Untrusted URL's that include the protocol javascript: will execute javascript code when used in URL DOM locations such as anchor tag HREF attributes or iFrame src locations. Be sure to validate all untrusted URL's to ensure they only contain safe schemes such as HTTPS.
## RULE \#8 - Prevent DOM-based XSS
Expand Down

0 comments on commit d51304b

Please sign in to comment.