[PR #2129] [MERGED] Use encodeURIComponent for text inputs in Match.vue #3657

Closed
opened 2026-04-25 00:16:31 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/2129
Author: @mikiher
Created: 9/20/2023
Status: Merged
Merged: 9/20/2023
Merged by: @advplyr

Base: masterHead: URI-encoding-2


📝 Commits (1)

  • 6eab985 Use encodeURIComponent for text inputs

📊 Changes

1 file changed (+6 additions, -5 deletions)

View changed files

📝 client/components/modals/item/tabs/Match.vue (+6 -5)

📄 Description

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf/pull/2129 **Author:** [@mikiher](https://github.com/mikiher) **Created:** 9/20/2023 **Status:** ✅ Merged **Merged:** 9/20/2023 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `URI-encoding-2` --- ### 📝 Commits (1) - [`6eab985`](https://github.com/advplyr/audiobookshelf/commit/6eab985b1ef09ee5dbb256473db0810455a1d577) Use encodeURIComponent for text inputs ### 📊 Changes **1 file changed** (+6 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `client/components/modals/item/tabs/Match.vue` (+6 -5) </details> ### 📄 Description 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:16:31 +02:00
adam closed this issue 2026-04-25 00:16:31 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#3657