[OpenStreetMap] #4166: 500 error from api when uploading a tag with value ending with "%" (percent)

OpenStreetMap trac at openstreetmap.org
Fri Dec 30 16:00:24 GMT 2011


#4166: 500 error from api when uploading a tag with value ending with "%"
(percent)
--------------------+-------------------------------------------------------
 Reporter:  Koying  |       Owner:  rails-dev@…                
     Type:  defect  |      Status:  new                        
 Priority:  major   |   Milestone:                             
Component:  api     |     Version:                             
 Keywords:          |  
--------------------+-------------------------------------------------------
 The api returns a 500 error when trying to upload a diff change with a tag
 value ending with a percent.

 A tag value with a percent in the middle works fine.

 Example osmchange:[[BR]]


 {{{
 <?xml version="1.0" encoding="UTF-8"?><osmChange  version="0.3"
 generator="Merkaartor 0.18"><create><node id="-1"
 timestamp="2011-12-30T16:15:37Z" version="0" user="" lon="3.5325143"
 lat="54.1949722"><tag k="Test" v="15%"/></node></create></osmChange >}}}

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



More information about the rails-dev mailing list