mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-24 12:44:29 +00:00
Fixes #5738
This commit is contained in:
parent
3192da0acd
commit
79f4cfb0a7
3 changed files with 6 additions and 6 deletions
|
|
@ -5408,9 +5408,9 @@ def parseRequestFile(reqFile, checkParams=True):
|
|||
|
||||
port = extractRegexResult(r":(?P<result>\d+)\Z", value)
|
||||
if port:
|
||||
value = value[:-(1 + len(port))]
|
||||
|
||||
host = value
|
||||
host = value[:-(1 + len(port))]
|
||||
else:
|
||||
host = value
|
||||
|
||||
# Avoid to add a static content length header to
|
||||
# headers and consider the following lines as
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue