mygpo icon indicating copy to clipboard operation
mygpo copied to clipboard

Subscription example URL not sanitized

Open FeuRenard opened this issue 5 years ago • 0 comments

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.

FeuRenard avatar Feb 23 '20 20:02 FeuRenard