mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
some update (if header key is non-unicode comformant)
This commit is contained in:
parent
2bbbc9a41e
commit
63b8156c00
2 changed files with 8 additions and 3 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue