Skip to content

Commit e7372a9

Browse files
committed
Fixes #5123
1 parent 864ab59 commit e7372a9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-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.6.6.7"
23+
VERSION = "1.6.6.8"
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/core/target.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,9 @@ def process(match, repl):
305305
testableParameters = True
306306

307307
else:
308+
if place == PLACE.URI:
309+
value = conf.url = conf.url.replace('+', "%20") # NOTE: https://github.com/sqlmapproject/sqlmap/issues/5123
310+
308311
conf.parameters[place] = value
309312
conf.paramDict[place] = OrderedDict()
310313

0 commit comments

Comments
 (0)