Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cc2a916

Browse files
committed
Fix for an Issue #126
1 parent 1669c6b commit cc2a916

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/techniques/union/use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def _(regex):
8080
None)
8181

8282
# Automatically patching last char trimming cases
83-
if kb.chars.stop not in page and kb.chars.stop[:-1] in page:
83+
if kb.chars.stop not in (page or "") and kb.chars.stop[:-1] in (page or ""):
8484
warnMsg = "automatically patching output having last char trimmed"
8585
singleTimeWarnMessage(warnMsg)
8686
page = page.replace(kb.chars.stop[:-1], kb.chars.stop)

0 commit comments

Comments
 (0)