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 query encoding is wrong #93

Closed respektive closed 1 year ago

respektive commented 1 year ago

The newest version changes the way tags are encoded. It used to encode the individual tags and concatenate them with + symbols. Now it's encoding the entire string of tags including the + symbols. E.g. it used to be like this: https://gelbooru.com/index.php?page=dapi&s=post&q=index&json=1&tags=izumi_konata+-rating%3Aexplicit+-rating%3Aquestionable and it now turned into: https://gelbooru.com/index.php?page=dapi&s=post&q=index&json=1&tags=izumi_konata%2B-rating%253Aexplicit%2B-rating%253Aquestionable This breaks at least the gelbooru api, didn't test for other sites.

AtoraSuunva commented 1 year ago

Yup, broke that in 2.6.0, fixed in 2.6.1