1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-09 11:15:50 +02:00

[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'
This commit is contained in:
sysadminstory
2023-09-06 03:46:47 +02:00
committed by GitHub
parent 38b957398a
commit 52b90e0873

View File

@ -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 ...';