From 752098e0fa0988ab7f608832161c0f986bd80eb8 Mon Sep 17 00:00:00 2001
From: sysadminstory <sysadminstory@users.noreply.github.com>
Date: Tue, 5 Sep 2023 02:12:20 +0200
Subject: [PATCH] [Core] Fix Find Feed URL encoding (#3650)

The URL entered by the user was not URL encoded for the find feed
feature : this had lead to wrong content sent back to he server
---
 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 82069d8c..9b6cce5d 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 = input.value;
+        let content = encodeURI(input.value);
         if (content) {
             const findfeedresults = document.getElementById('findfeedresults');
             findfeedresults.innerHTML = 'Searching for matching feeds ...';