mirror of
https://github.com/dariusk/rss-to-activitypub.git
synced 2024-12-22 21:53:32 +02:00
Encode URI components for feed with query params
This fixes #10 and fixes #15.
This commit is contained in:
parent
6039a793c4
commit
e0dbc536dc
1 changed files with 1 additions and 1 deletions
|
@ -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}`)
|
||||
|
|
Loading…
Reference in a new issue