mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-14 15:14:31 +03:00
In case that content-length header was not in a desired case ('Content-length') POST request file would fail badly (repeating original content-length header value)
This commit is contained in:
parent
bb6b89fe93
commit
efe26ac3f8
|
@ -304,7 +304,7 @@ def _feedTargetsDict(reqFile, addedTargetUrls):
|
|||
# Avoid to add a static content length header to
|
||||
# conf.httpHeaders and consider the following lines as
|
||||
# POSTed data
|
||||
if key == HTTPHEADER.CONTENT_LENGTH:
|
||||
if key.upper() == HTTPHEADER.CONTENT_LENGTH.upper():
|
||||
params = True
|
||||
|
||||
# Avoid proxy and connection type related headers
|
||||
|
|
Loading…
Reference in New Issue
Block a user