mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
some update (if header key is non-unicode comformant)
This commit is contained in:
@@ -158,7 +158,8 @@ class Connect:
|
||||
headers[key] = item
|
||||
|
||||
for key, item in headers.items():
|
||||
headers[key] = unicodeToSafeHTMLValue(item)
|
||||
del headers[key]
|
||||
headers[unicodeToSafeHTMLValue(key)] = unicodeToSafeHTMLValue(item)
|
||||
|
||||
post = unicodeToSafeHTMLValue(post)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user