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

Skip to content

Commit c416184

Browse files
committed
Removing trailing blanks
1 parent 2e97405 commit c416184

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/request/basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def decodePage(page, contentEncoding, contentType):
245245
# e.g. ’…™
246246
if "&#" in page:
247247
page = re.sub('&#(\d+);', lambda _: unichr(int(_.group(1))), page)
248-
248+
249249
# e.g. ζ
250250
page = re.sub('&([^;]+);', lambda _: unichr(htmlEntities[_.group(1)]) if htmlEntities.get(_.group(1), 0) > 255 else _.group(0), page)
251251

tamper/space2mssqlblank.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def tamper(payload, **kwargs):
8383
retVal += random.choice(blanks)
8484

8585
continue
86-
86+
8787
retVal += payload[i]
8888

8989
return retVal

0 commit comments

Comments
 (0)