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

Skip to content

Commit d1f5c1d

Browse files
committed
now when we "decode page" based on a charset, sanitizeAsciiString only brings unneeded filtering
1 parent 79e9782 commit d1f5c1d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

lib/request/basic.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ def decodePage(page, contentEncoding, contentType):
137137
return page
138138

139139
def processResponse(page, responseHeaders):
140-
page = sanitizeAsciiString(page)
141140
page = getUnicode(page)
142141
parseResponse(page, responseHeaders)
143142
if conf.parseErrors:

0 commit comments

Comments
 (0)