Skip to content

Commit a59198d

Browse files
committed
Minor just in case patch (to prevent junk reports)
1 parent f6738ad commit a59198d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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.2.1.7"
22+
VERSION = "1.2.1.8"
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)

lib/request/basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def checkCharEncoding(encoding, warn=True):
218218
try:
219219
codecs.lookup(encoding.encode(UNICODE_ENCODING) if isinstance(encoding, unicode) else encoding)
220220
except (LookupError, ValueError):
221-
if warn:
221+
if warn and ' ' not in encoding:
222222
warnMsg = "unknown web page charset '%s'. " % encoding
223223
warnMsg += "Please report by e-mail to '%s'" % DEV_EMAIL_ADDRESS
224224
singleTimeLogMessage(warnMsg, logging.WARN, encoding)

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ ffa5f01f39b17c8d73423acca6cfe86a lib/core/readlineng.py
4646
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4747
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
4848
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
49-
f0a078744355f8eba214f960c810cdf9 lib/core/settings.py
49+
cb8195e0a49997deb60e00e9abb6e5bc lib/core/settings.py
5050
d0adc28a38e43a787df4471f7f027413 lib/core/shell.py
5151
63491be462c515a1a3880c27c2acc4a2 lib/core/subprocessng.py
5252
505aaa61e1bba3c3d4567c3e667699e3 lib/core/target.py
@@ -66,7 +66,7 @@ fb2e2f05dde98caeac6ccf3e67192177 lib/parse/configfile.py
6666
307d4001682f38dd574548d98c0f1c3e lib/parse/payloads.py
6767
38563853a32dd677ce6c65a0945d7227 lib/parse/sitemap.py
6868
4e60fe7c94bbfa631087ed3426df8ef0 lib/request/basicauthhandler.py
69-
054a83429e2538293175d6a7242f2e63 lib/request/basic.py
69+
eb39d5cbd69a2238e2f4ea2fde183cdb lib/request/basic.py
7070
c0cabedead14b8a23353b606672cff42 lib/request/comparison.py
7171
a38e09038468387b20e978ce1b885018 lib/request/connect.py
7272
dd4598675027fae99f2e2475b05986da lib/request/direct.py

0 commit comments

Comments
 (0)