AtoraSuunva / booru

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

Gelbooru search doesn't work for tags with special characters #78

Closed respektive closed 2 years ago

respektive commented 2 years ago

I noticed that on the newest version tags like 6+girls don't works anymore even after escaping the special characters using the encodeURIComponent() function.

On top of that it seems like that tags like :3 or :d that usually work fine break after encoding them. This was not the case before.

AtoraSuunva commented 2 years ago

Somehow github failed to send me a mail notification for this (or gmail hid it)

Seems like it's an issue with me using encodeURI instead of encodeURIComponent, I've fixed that and have a release ready after I make sure I didn't break anything (on 2.5.3-dev right now)

AtoraSuunva commented 2 years ago

Live on booru@2.5.3, seems to work well on a live bot