mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Fix for an Issue #143
This commit is contained in:
parent
4b4288dfc8
commit
5929c89ba4
4
thirdparty/clientform/clientform.py
vendored
4
thirdparty/clientform/clientform.py
vendored
|
@ -3353,9 +3353,7 @@ class HTMLForm:
|
||||||
rest, (query, frag) = parts[:-2], parts[-2:]
|
rest, (query, frag) = parts[:-2], parts[-2:]
|
||||||
|
|
||||||
if method == "GET":
|
if method == "GET":
|
||||||
if self.enctype != "application/x-www-form-urlencoded":
|
self.enctype = "application/x-www-form-urlencoded" # force it
|
||||||
raise ValueError(
|
|
||||||
"unknown GET form encoding type '%s'" % self.enctype)
|
|
||||||
parts = rest + (urlencode(self._pairs()), None)
|
parts = rest + (urlencode(self._pairs()), None)
|
||||||
uri = self._urlunparse(parts)
|
uri = self._urlunparse(parts)
|
||||||
return uri, None, []
|
return uri, None, []
|
||||||
|
|
Loading…
Reference in New Issue
Block a user