mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
Minor update
This commit is contained in:
parent
c75a2d0c40
commit
df4fd82515
|
@ -603,7 +603,7 @@ class Connect(object):
|
|||
contentType = max(headers[_] if _.upper() == HTTP_HEADER.CONTENT_TYPE.upper() else None for _ in headers.keys())
|
||||
urlEncodePost = contentType and "urlencoded" in contentType or contentType is None
|
||||
|
||||
if conf.skipUrlEncode and urlEncodePost:
|
||||
if (kb.postHint or conf.skipUrlEncode) and urlEncodePost:
|
||||
urlEncodePost = False
|
||||
conf.httpHeaders = [_ for _ in conf.httpHeaders if _[1] != contentType]
|
||||
contentType = POST_HINT_CONTENT_TYPES.get(kb.postHint, PLAIN_TEXT_CONTENT_TYPE)
|
||||
|
|
Loading…
Reference in New Issue
Block a user