geoip.ubuntu.com doesn't support non-ASCII characters leading to malformed XML

Bug #1010993 reported by Jimmy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu GeoIP
New
Undecided
Unassigned
ubuntu-geoip (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

(I hope this is the right place to report this bug.)

When going to http://geoip.ubuntu.com/lookup from a city containing non-ASCII characters it will output malformed XML.
The non-ACSII are convered to "�", according to curl, and unicode \uffff, according to Firefox. In my example the character "ö" in my city name was converted leading to malformed XML.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-geoip (Ubuntu):
status: New → Confirmed
Revision history for this message
fapa (fa-pa) wrote :

Same here.

XML Parsing Error: not well-formed
Location: http://geoip.ubuntu.com/lookup
Line Number 1, Column 254:

<?xml version="1.0" encoding="UTF-8"?><Response><Ip>xxx.xx.xxx.xxx</Ip><Status>OK</Status><CountryCode>DE</CountryCode><CountryCode3>DEU</CountryCode3><CountryName>Germany</CountryName><RegionCode>02</RegionCode><RegionName>Bayern</RegionName><City>Neus\uffff\ufffd</City><ZipPostalCode></ZipPostalCode><Latitude>48.4000</Latitude><Longitude>10.8333</Longitude><AreaCode>0</AreaCode><TimeZone>Europe/Berlin</TimeZone></Response>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.