aboutsummaryrefslogtreecommitdiff
path: root/static/rss-bridge.js
diff options
context:
space:
mode:
authorGravatar sysadminstory <sysadminstory@users.noreply.github.com> 2023-09-06 03:46:47 +0200
committerGravatar GitHub <noreply@github.com> 2023-09-06 03:46:47 +0200
commit52b90e0873e56e55b39c4379748f54d55e46248e (patch)
tree0851d27388f91db14dfafdc2ae9ab70eee47f6b3 /static/rss-bridge.js
parent38b957398aec532f640550cddc9dd748133c3f27 (diff)
downloadrss-bridge-52b90e0873e56e55b39c4379748f54d55e46248e.tar.gz
rss-bridge-52b90e0873e56e55b39c4379748f54d55e46248e.tar.zst
rss-bridge-52b90e0873e56e55b39c4379748f54d55e46248e.zip
[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'
Diffstat (limited to 'static/rss-bridge.js')
-rw-r--r--static/rss-bridge.js2
1 files changed, 1 insertions, 1 deletions
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 ...';