1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-01-17 14:18:35 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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