Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use encodeURIComponent for text inputs in Match.vue #2129

Merged
merged 1 commit into from Sep 20, 2023

Conversation

mikiher
Copy link
Contributor

@mikiher mikiher commented Sep 20, 2023

In the Match tab, the Search Title and Author are not properly encoded, therefore if any of them contains an ampersand character, the generated search URL will be incorrect. This is resolved by encoding them using encodeURIComponent.

Resolves #2128

@mikiher mikiher marked this pull request as ready for review September 20, 2023 11:37
@advplyr
Copy link
Owner

advplyr commented Sep 20, 2023

Works great, thanks!

@advplyr advplyr merged commit 872fba1 into advplyr:master Sep 20, 2023
1 check passed
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.

[Bug]: (Match tab) If Search Title or Author contain &, search query is incorrectly encoded
2 participants