mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Minor patch
This commit is contained in:
@@ -601,7 +601,7 @@ class Connect(object):
|
|||||||
if conf.httpHeaders:
|
if conf.httpHeaders:
|
||||||
headers = dict(conf.httpHeaders)
|
headers = dict(conf.httpHeaders)
|
||||||
contentType = max(headers[_] if _.upper() == HTTP_HEADER.CONTENT_TYPE.upper() else None for _ in headers.keys())
|
contentType = max(headers[_] if _.upper() == HTTP_HEADER.CONTENT_TYPE.upper() else None for _ in headers.keys())
|
||||||
urlEncodePost = contentType and "urlencoded" in contentType
|
urlEncodePost = contentType and "urlencoded" in contentType or contentType is None
|
||||||
|
|
||||||
if conf.skipUrlEncode and urlEncodePost:
|
if conf.skipUrlEncode and urlEncodePost:
|
||||||
urlEncodePost = False
|
urlEncodePost = False
|
||||||
|
|||||||
Reference in New Issue
Block a user