Skip to content

Conversation

FawazTakahji
Copy link

Find gifs with non ascii characters in the link

before:
image
after:
image

@rniii
Copy link
Contributor

rniii commented Aug 14, 2025

is this better than doing the opposite thing? decodeURI(getTargetString(gif.url ?? gif.src))

@FawazTakahji
Copy link
Author

is this better than doing the opposite thing? decodeURI(getTargetString(gif.url ?? gif.src))

You'd have to decode every item instead of encoding the query once, but I don't know if it's that much of a meaningful difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants