[OpenStreetMap] #5508: OSM API v0.6 Reopening closed note bug

OpenStreetMap trac at noreply.openstreetmap.org
Wed Dec 12 13:26:13 UTC 2018


#5508: OSM API v0.6 Reopening closed note bug
----------------------+-------------------------
  Reporter:  kang@…   |      Owner:  rails-dev@…
      Type:  defect   |     Status:  closed
  Priority:  minor    |  Milestone:
 Component:  api      |    Version:
Resolution:  invalid  |   Keywords:
----------------------+-------------------------

Comment (by kang@…):

 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

--
Ticket URL: <https://trac.openstreetmap.org/ticket/5508#comment:2>
OpenStreetMap <https://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the rails-dev mailing list