mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +03:00
Bug fix
This commit is contained in:
parent
2e9bf47703
commit
bf1c08a8a6
|
@ -544,7 +544,6 @@ def paramToDict(place, parameters=None):
|
||||||
if place in conf.parameters and not parameters:
|
if place in conf.parameters and not parameters:
|
||||||
parameters = conf.parameters[place]
|
parameters = conf.parameters[place]
|
||||||
|
|
||||||
parameters = parameters.replace(", ", ",")
|
|
||||||
parameters = re.sub(r"&(\w{1,4});", r"%s\g<1>%s" % (PARAMETER_AMP_MARKER, PARAMETER_SEMICOLON_MARKER), parameters)
|
parameters = re.sub(r"&(\w{1,4});", r"%s\g<1>%s" % (PARAMETER_AMP_MARKER, PARAMETER_SEMICOLON_MARKER), parameters)
|
||||||
if place == PLACE.COOKIE:
|
if place == PLACE.COOKIE:
|
||||||
splitParams = parameters.split(conf.cookieDel or DEFAULT_COOKIE_DELIMITER)
|
splitParams = parameters.split(conf.cookieDel or DEFAULT_COOKIE_DELIMITER)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user