mygpo
mygpo copied to clipboard
Subscription example URL not sanitized
I'm using this API https://gpoddernet.readthedocs.io/en/latest/api/reference/subscriptions.html#upload-subscription-changes with this body:
{ "add": ["http://feeds2.feedburner.com/LinuxOutlaws?format=xml"], "remove": [] }
The add
URL is taken from your sanitizing example in the documentation. But I realized the sanitizing from the documentation doesn't happen here. update_urls
in the response is empty and the same URL uploaded is returned by https://gpoddernet.readthedocs.io/en/latest/api/reference/subscriptions.html#get-subscriptions-of-device .
So either the example is incorrect or the API behavior may have changed.