diff --git a/public/convert/index.html b/public/convert/index.html index a23d1a4..3d85c44 100644 --- a/public/convert/index.html +++ b/public/convert/index.html @@ -49,7 +49,7 @@ // https://bots.tinysubversions.com/api/convert/?feed=https://toomuchnotenough.site/feed.xml&username=tmne function submit() { let domain = document.domain; -let feed = document.querySelector('#feed').value; +let feed = encodeURIComponent(document.querySelector('#feed').value); let username = document.querySelector('#username').value; let out = document.querySelector('#out'); fetch(`/api/convert/?feed=${feed}&username=${username}`)