treeform / puppy

Puppy fetches via HTTP and HTTPS
MIT License
184 stars 27 forks source link

puppy forces full percent encoding in path segments #111

Closed veksha closed 5 months ago

veksha commented 6 months ago

trying to fetch https://www.elyrics.net/read/0-9/$uicideboy$-lyrics/[whispers-indistinctly]-lyrics.html i get code 404 (Windows OS)

it is because puppy forces percent encoding of a lot of chars ($, [, ], etc..)

browsers don't do it. can be checked in chromium console:

image

i think the same is true for query params and fragment.. browsers for some reason act different when encoding them. maybe RFC allows it or it is made so for compatibility.

guzba commented 5 months ago

This is fixed in release 2.1.2. Feel free to re-open if things are still not working as expected.