bug with -nfs and -nf flag #1770
Labels
Status: Completed
Nothing further to be done with this issue. Awaiting to be closed.
Type: Bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
Milestone
httpx version:
all with the -nfs and -nf flag version.
Current Behavior:
The bug is that when the requested URL hostname is an IP and the path is a number, the IP address is parsed incorrectly and it is parsed into an IP segment.
Expected Behavior:
only request
http://127.0.0.1/1
Steps To Reproduce:
echo http://127.0.0.1/1 | httpx -duc -nfs -v
echo http://127.0.0.1/12 | httpx -duc -nfs -v
It will request the generated IP segment, and the request time is very long
without -nfs flag,it's normal.only request
http://127.0.0.1/1
echo http://127.0.0.1/1 | httpx -duc -v
The text was updated successfully, but these errors were encountered: