From 52b90e0873e56e55b39c4379748f54d55e46248e Mon Sep 17 00:00:00 2001 From: sysadminstory Date: Wed, 6 Sep 2023 03:46:47 +0200 Subject: [PATCH] [Core] Fix Find Feed URL encoding (Really this time) (#3651) - the URL was only partially encoded because encodeURI() was used instead of encodeURIComponent() Now the whole URL is urlencoded, and the whole URL is passed as is in the GET parameter 'url' --- static/rss-bridge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/rss-bridge.js b/static/rss-bridge.js index 9b6cce5d..2c45294c 100644 --- a/static/rss-bridge.js +++ b/static/rss-bridge.js @@ -56,7 +56,7 @@ var rssbridge_feed_finder = (function() { // Start the Feed search async function rssbridge_feed_search(event) { const input = document.getElementById('searchfield'); - let content = encodeURI(input.value); + let content = encodeURIComponent(input.value); if (content) { const findfeedresults = document.getElementById('findfeedresults'); findfeedresults.innerHTML = 'Searching for matching feeds ...';