fix script context handling
This commit is contained in:
@@ -14,6 +14,7 @@ def filterChecker(url, params, headers, GET, delay, occurences, timeout, encodin
|
|||||||
if context == 'comment':
|
if context == 'comment':
|
||||||
environments.add('-->')
|
environments.add('-->')
|
||||||
elif context == 'script':
|
elif context == 'script':
|
||||||
|
environments.add(occurences[i]['details']['quote'])
|
||||||
environments.add('</scRipT/>')
|
environments.add('</scRipT/>')
|
||||||
elif context == 'attribute':
|
elif context == 'attribute':
|
||||||
if occurences[i]['details']['type'] == 'value':
|
if occurences[i]['details']['type'] == 'value':
|
||||||
|
|||||||
Reference in New Issue
Block a user