mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
This reverts commit 93a8828dab.
This commit is contained in:
parent
93a8828dab
commit
d42187ac47
2 changed files with 1 additions and 5 deletions
4
thirdparty/multipart/multipartpost.py
vendored
4
thirdparty/multipart/multipartpost.py
vendored
|
|
@ -74,10 +74,6 @@ class MultipartPostHandler(_urllib.request.BaseHandler):
|
|||
part = match.group(0)
|
||||
if b'\r' not in part:
|
||||
request.data = request.data.replace(part, part.replace(b'\n', b"\r\n"))
|
||||
for match in re.finditer(b"(Content-Type[^\\n]+[\\n|\\r|\\r\\n]+)",request.data):
|
||||
part = match.group(0)
|
||||
if b'\r' not in part:
|
||||
request.data = request.data.replace(part, part.replace(b'\n', b"\r\n"))
|
||||
|
||||
return request
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue