Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1669c6b commit cc2a916Copy full SHA for cc2a916
1 file changed
lib/techniques/union/use.py
@@ -80,7 +80,7 @@ def _(regex):
80
None)
81
82
# Automatically patching last char trimming cases
83
- if kb.chars.stop not in page and kb.chars.stop[:-1] in page:
+ if kb.chars.stop not in (page or "") and kb.chars.stop[:-1] in (page or ""):
84
warnMsg = "automatically patching output having last char trimmed"
85
singleTimeWarnMessage(warnMsg)
86
page = page.replace(kb.chars.stop[:-1], kb.chars.stop)
0 commit comments