Cannot use feed URLs with spaces

Bug #1485854 reported by François Marier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PlanetFilter
Fix Released
Medium
François Marier

Bug Description

It's not possible to add a feed like this: https://www.openstreetmap.org/user/Francois%20Marier/traces/rss

to the config file.

I tried the following and they all failed:

  url = https://www.openstreetmap.org/user/Francois%20Marier/traces/rss
  url = https://www.openstreetmap.org/user/Francois Marier/traces/rss
  url = "https://www.openstreetmap.org/user/Francois Marier/traces/rss"

Revision history for this message
François Marier (fmarier) wrote :

Actually, spaces are correctly parsed in the configuration (https://docs.python.org/3/library/configparser.html), the problem is that these two requests return different results:

  curl "https://www.openstreetmap.org/user/Francois Marier/traces/rss"
  curl "https://www.openstreetmap.org/user/Francois%20Marier/traces/rss"

Changed in planetfilter:
assignee: nobody → François Marier (fmarier)
status: Confirmed → Fix Committed
Changed in planetfilter:
milestone: none → 0.4.4
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.