ghosts icon indicating copy to clipboard operation
ghosts copied to clipboard

Problem with unencoded URLs

Open StevenBlack opened this issue 4 years ago • 0 comments

Using yoyo's wonky URL, I get the following output and execution doesn't complete.

Steve at 0xf
$ ./ghosts -i https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext
[1] 12294

Steve at 0xf
$ --------------------------------------------------------------------------------
Base hosts file summary:
--------------------------------------------------------------------------------
Location: https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts
Domains: 3,280
Bytes: 89 kB
--------------------------------------------------------------------------------

Truncating the URL works just fine:

Steve at 0xf
$ ./ghosts -i https://pgl.yoyo.org/adservers/serverlist.php
--------------------------------------------------------------------------------
Base hosts file summary:
--------------------------------------------------------------------------------
Location: https://pgl.yoyo.org/adservers/serverlist.php
Domains: 3,280
Bytes: 89 kB
--------------------------------------------------------------------------------

StevenBlack avatar Mar 20 '20 03:03 StevenBlack