Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#5508 closed defect (invalid)

OSM API v0.6 Reopening closed note bug

Reported by: kang@… Owned by: rails-dev@…
Priority: minor Milestone:
Component: api Version:
Keywords: Cc:

Description

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

Change History (2)

comment:1 Changed 8 months ago by kang@…

Resolution: invalid
Status: newclosed

comment:2 in reply to:  description Changed 8 months ago by kang@…

Replying to 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

Note: See TracTickets for help on using tickets.