mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-03 19:55:47 +03:00
Minor patch
This commit is contained in:
parent
153aa10b77
commit
c75a2d0c40
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user