mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Minor update
This commit is contained in:
parent
026e5d05f4
commit
dfbba622fc
3 changed files with 5 additions and 8 deletions
|
|
@ -439,10 +439,7 @@ def stdoutEncode(value):
|
|||
if isinstance(value, (bytes, bytearray)):
|
||||
value = getUnicode(value, encoding)
|
||||
elif not isinstance(value, str):
|
||||
# Non-string values (e.g. dicts passed through the REST API path,
|
||||
# where the overridden sys.stdout.write JSON-encodes the value)
|
||||
# must be returned unchanged — stringifying them via str() yields
|
||||
# Python repr() output that the API consumer cannot parse.
|
||||
# Reference: https://github.com/sqlmapproject/sqlmap/issues/6054
|
||||
return value
|
||||
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue