[Geocoding] [OpenStreetMap] #4232: Nominatim: XML attributes not properly escaped

OpenStreetMap trac at openstreetmap.org
Mon Feb 20 12:55:16 GMT 2012


#4232: Nominatim: XML attributes not properly escaped
-----------------------+----------------------------------------------------
 Reporter:  rexmac     |       Owner:  geocoding@…                
     Type:  defect     |      Status:  new                        
 Priority:  minor      |   Milestone:                             
Component:  nominatim  |     Version:                             
 Keywords:             |  
-----------------------+----------------------------------------------------

Comment(by lonvia):

 Works for me. Tried to search for K&L:

 {{{http://nominatim.openstreetmap.org/search.php?q=K%26L&format=xml}}}

 and it returns a properly escaped:

 {{{more_url='http://nominatim.openstreetmap.org/search?format=xml&exclude_place_ids=17381569,115309965,8585366,6472748,1473539,7130582,48199167,3561534,89696007,45854878&amp
 ;accept-language=&q=K%26L'}}}

 Can you give an example where the escaping is wrong?

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



More information about the Geocoding mailing list