mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Another update for an Issue #79
This commit is contained in:
parent
b916db34a4
commit
33980adaef
|
@ -267,7 +267,7 @@ def __feedTargetsDict(reqFile, addedTargetUrls):
|
|||
|
||||
# POST parameters
|
||||
elif data is not None and params:
|
||||
data += line
|
||||
data += "%s%s" % ("\n" if data else "", line)
|
||||
|
||||
# GET parameters
|
||||
elif "?" in line and "=" in line and ": " not in line:
|
||||
|
|
|
@ -81,8 +81,6 @@ def __setRequestParams():
|
|||
if hasattr(conf.data, UNENCODED_ORIGINAL_VALUE):
|
||||
original = getattr(conf.data, UNENCODED_ORIGINAL_VALUE)
|
||||
setattr(conf.data, UNENCODED_ORIGINAL_VALUE, original)
|
||||
else:
|
||||
conf.data = conf.data.replace("\n", " ")
|
||||
|
||||
place = PLACE.SOAP if re.match(SOAP_REGEX, conf.data, re.I | re.M) else PLACE.POST
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user