projectdiscovery / httpx

httpx is a fast and multi-purpose HTTP toolkit that allows running multiple probes using the retryablehttp library.
https://docs.projectdiscovery.io/tools/httpx
MIT License
7.53k stars 822 forks source link

Broken output after updating to 1.6.7. #1858

Closed KarahanGuner closed 1 month ago

KarahanGuner commented 1 month ago

httpx version:

1.6.7

Current Behavior:

When I pipe an input file into Httpx, and write its output to another file like this: cat domains.txt | httpx > httpxresults.txt There are empty lines at the beginning of the output file: domainst.txt:

example.com
test.com
hackerone.com
bugcrowd.com

httpxresults.txt:


https://hackerone.com
https://example.com
https://bugcrowd.com

Expected Behavior:

httpxresults.txt file should look like this:

https://hackerone.com
https://example.com
https://bugcrowd.com

Steps To Reproduce:

Create the input file I mentioned before run the command I provided.

Anything else:

KarahanGuner commented 1 month ago

I looked through my command history and I think the last time I had updated Httpx was around 2024-07-19 . That version was working fine. Today I updated it again and the problem started. I hope this helps you pinpoint the problem.

ehsandeep commented 1 month ago

This is now fixed in latest release - https://github.com/projectdiscovery/httpx/releases/tag/v1.6.8