mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Fixing issue with newlines after the data in -r mode
This commit is contained in:
parent
965fa04a33
commit
c6d29e093e
|
@ -309,6 +309,8 @@ def _feedTargetsDict(reqFile, addedTargetUrls):
|
|||
elif key not in (HTTPHEADER.PROXY_CONNECTION, HTTPHEADER.CONNECTION):
|
||||
conf.httpHeaders.append((getUnicode(key), getUnicode(value)))
|
||||
|
||||
data = data.rstrip("\r\n") if data else data
|
||||
|
||||
if getPostReq and (params or cookie):
|
||||
if not port and isinstance(scheme, basestring) and scheme.lower() == "https":
|
||||
port = "443"
|
||||
|
|
Loading…
Reference in New Issue
Block a user