mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +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:]
|
||||
|
||||
if method == "GET":
|
||||
if self.enctype != "application/x-www-form-urlencoded":
|
||||
raise ValueError(
|
||||
"unknown GET form encoding type '%s'" % self.enctype)
|
||||
self.enctype = "application/x-www-form-urlencoded" # force it
|
||||
parts = rest + (urlencode(self._pairs()), None)
|
||||
uri = self._urlunparse(parts)
|
||||
return uri, None, []
|
||||
|
|
Loading…
Reference in New Issue
Block a user