Skip to content

Commit b6584c8

Browse files
committed
Fixes #2853
1 parent 78ac42c commit b6584c8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3849,7 +3849,7 @@ def quote(s, safe):
38493849
# Triggers on non-ascii characters - another option would be:
38503850
# urllib.quote(s.replace('%', '')) != s.replace('%', '')
38513851
# which would trigger on all %-characters, e.g. "&".
3852-
if s.encode("ascii", "replace") != s or forceQuote:
3852+
if getUnicode(s).encode("ascii", "replace") != s or forceQuote:
38533853
return urllib.quote(s.encode(UNICODE_ENCODING), safe=safe)
38543854
return s
38553855

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

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

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ d2cdb9e832e18a81e936ca3348144b16 lib/controller/handler.py
2727
5fb9aaf874daa47ea2b672a22740e56b lib/controller/__init__.py
2828
367c522e9b2ea0cf585c733efa4f961f lib/core/agent.py
2929
9eccf8db8b8e259e30c1eade4ee499b0 lib/core/bigarray.py
30-
740c507961604906351cc5f447441166 lib/core/common.py
30+
0c25fe0dbb0095e4a22c35255f7874c9 lib/core/common.py
3131
5c918135b3776bb129edbfdd422ece1b lib/core/convert.py
3232
90b1b08368ac8a859300e6fa6a8c796e lib/core/data.py
3333
1c14bdbf47b8dba31f73da9ad731a54a lib/core/datatype.py
@@ -46,7 +46,7 @@ f872699e948d0692ce11b54781da814c lib/core/log.py
4646
760d9df2a27ded29109b390ab202e72d lib/core/replication.py
4747
a2466b62e67f8b31736bac4dac590e51 lib/core/revision.py
4848
02d4762140a72fd44668d3dab5eabda9 lib/core/session.py
49-
5053df5f535a0cc8da2192a7b26887dd lib/core/settings.py
49+
42d4b8279ae70e235ff6d52185671eb4 lib/core/settings.py
5050
35bffbad762eb9e03db9e93b1c991103 lib/core/shell.py
5151
a59ec28371ae067a6fdd8f810edbee3d lib/core/subprocessng.py
5252
d93501771b41315f9fb949305b6ed257 lib/core/target.py

0 commit comments

Comments
 (0)