Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

OSM API v0.6 Reopening closed note bug #5506

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

OSM API v0.6 Reopening closed note bug #5506

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: kang[at]hsr.ch
[Submitted to the original trac issue database at 8.09pm, Monday, 3rd December 2018]

when using the api https://api.openstreetmap.org/api/0.6/notes/#id/reopen?text=Comment,
if the text contains = error code 401 will be thrown.

while the comment api https://api.openstreetmap.org/api/0.6/notes/#id/comment?text=ThisIsANoteComment
does not have such restrictions

@openstreetmap-trac
Copy link
Author

Author: kang[at]hsr.ch
[Added to the original trac issue at 1.26pm, Wednesday, 12th December 2018]

Replying to [ticket:5508 kang@]:

when using the api https://api.openstreetmap.org/api/0.6/notes/#id/reopen?text=Comment,
if the text contains = error code 401 will be thrown.

while the comment api https://api.openstreetmap.org/api/0.6/notes/#id/comment?text=ThisIsANoteComment
does not have such restrictions

Resolved. Encode the text with encodeURIComponent() instead of encodeURI

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

No branches or pull requests

1 participant