mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 04:05:58 +00:00
Fixes #2592
This commit is contained in:
parent
5ec44b8346
commit
0961f6a5e9
4 changed files with 16 additions and 13 deletions
|
|
@ -4393,4 +4393,4 @@ def getSafeExString(ex, encoding=None):
|
|||
elif getattr(ex, "msg", None):
|
||||
retVal = ex.msg
|
||||
|
||||
return getUnicode(retVal, encoding=encoding)
|
||||
return getUnicode(retVal or "", encoding=encoding).strip()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue