Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix invalid routing path due to spaces inside the json #288

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

omartijn
Copy link

In newer versions, urllib rejects paths containing control characters,
which includes spaces. Since json.dumps adds spaces by default, this
caused the request to be rejected locally, preventing routing from
working.

This change was tested on my device and works locally. Tested with the
most recent version of osm-scout-server on SFOS 3.3.

In newer versions, urllib rejects paths containing control characters,
which includes spaces. Since `json.dumps` adds spaces by default, this
caused the request to be rejected locally, preventing routing from
working.

This change was tested on my device and works locally. Tested with the
most recent version of osm-scout-server on SFOS 3.3.
@M4rtinK
Copy link
Owner

M4rtinK commented Jun 11, 2020

Thanks for the PR & sorry for not checking this out earlier. Looks good to me & I should be able to test it in the next day or two. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants