Skip to content

Commit e869728

Browse files
committed
Fixes #3698
1 parent 2e193fe commit e869728

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

lib/core/settings.py

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

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.3.5.134"
21+
VERSION = "1.3.5.135"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
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: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -286,13 +286,13 @@ def getPage(**kwargs):
286286

287287
if multipart:
288288
post = multipart
289+
else:
290+
if not post:
291+
chunked = False
289292

290-
if not post:
291-
chunked = False
292-
293-
elif chunked:
294-
post = _urllib.parse.unquote(post)
295-
post = chunkSplitPostData(post)
293+
elif chunked:
294+
post = _urllib.parse.unquote(post)
295+
post = chunkSplitPostData(post)
296296

297297
websocket_ = url.lower().startswith("ws")
298298

0 commit comments

Comments
 (0)