mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Python: Require quote escaping for html.escape
This commit is contained in:
@@ -4,5 +4,6 @@ s = "tainted"
|
||||
|
||||
html.escape(s) # $ escapeInput=s escapeKind=html escapeOutput=html.escape(..)
|
||||
html.escape(s, True) # $ escapeInput=s escapeKind=html escapeOutput=html.escape(..)
|
||||
html.escape(s, False) # $ escapeInput=s escapeKind=html escapeOutput=html.escape(..)
|
||||
html.escape(s, quote=False) # $ escapeInput=s escapeKind=html escapeOutput=html.escape(..)
|
||||
# not considered html escapes, since they don't escape all relevant characters
|
||||
html.escape(s, False)
|
||||
html.escape(s, quote=False)
|
||||
|
||||
Reference in New Issue
Block a user