mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
fix for that bug linux man reported (UnicodeEncodeError inside raw_input)
This commit is contained in:
@@ -459,7 +459,7 @@ def readInput(message, default=None):
|
||||
|
||||
data = default
|
||||
else:
|
||||
data = raw_input(message)
|
||||
data = raw_input(message.encode(conf.dataEncoding))
|
||||
|
||||
if not data:
|
||||
data = default
|
||||
|
||||
Reference in New Issue
Block a user