AtoraSuunva / booru

Searches boorus for images using some js magic
https://www.npmjs.com/package/booru
MIT License
75 stars 18 forks source link

Tags are being encoded twice #94

Closed respektive closed 1 year ago

respektive commented 1 year ago

It looks like the tags are being encoded twice, because tags like -rating:explicit should be -rating%3Aexplicit. Instead the tag used in the URL looks like this -rating%253Aexplicit which implies that the % symbol is being encoded which is in fact %25.

I believe this happens, because the function that's supposed to construct the query string is encoding the already encoded tags again, but I didn't have the time to confirm this yet.

AtoraSuunva commented 1 year ago

ah damn, that's what I get for not writing a querystring function the first time around

fixed in booru@2.6.2