Skip to content

Commit de66b69

Browse files
committed
Fixes #5566
1 parent acce97b commit de66b69

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.7.11.1"
23+
VERSION = "1.7.11.2"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/request/connect.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,6 +1030,8 @@ def queryPage(value=None, place=None, content=False, getRatioValue=False, silent
10301030
conf.httpHeaders = [_ for _ in conf.httpHeaders if _[1] != contentType]
10311031
contentType = POST_HINT_CONTENT_TYPES.get(kb.postHint, PLAIN_TEXT_CONTENT_TYPE)
10321032
conf.httpHeaders.append((HTTP_HEADER.CONTENT_TYPE, contentType))
1033+
if "urlencoded" in contentType:
1034+
postUrlEncode = True
10331035

10341036
if payload:
10351037
delimiter = conf.paramDel or (DEFAULT_GET_POST_DELIMITER if place != PLACE.COOKIE else DEFAULT_COOKIE_DELIMITER)

0 commit comments

Comments
 (0)