Links for hourly weather forecast are broken

Bug #1431930 reported by Chris Wayne
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu Rest Scopes
New
Undecided
Unassigned

Bug Description

In the today scope, clicking on "hourly forecast" will lead to a broken website when the phone is set to german language.

The currently opened URL is:
http://m.de.weather.com/st%5Cxfcndlich/GMBW1901#0?par=ubuntu_bq

while it should be:
http://m.de.weather.com/stündlich/GMBW1901#0?par=ubuntu_bq

Notice the badly escaped "ü" character.

Revision history for this message
Fred Vkigg (fvkigg) wrote :

The bad escaping is in ~ubuntuone-hackers/ubuntu-rest-scopes/trunk : /src/scopes/weatherchannel.py (revision 484)

The correct character is:
ü U+00FC Latin small letter u with diaeresis

Current the URL for DE are defined as:

 'de': {'phone': {'hourly': u'm.de.weather.com/st\\xfcndlich/',
                     'today': 'm.weather.com/weather/today/',
                     'tendays': 'm.de.weather.com/10tage/'},
           'desktop': {'hourly': u'de.weather.com/st\\xfcndlich/',
                       'today': 'www.weather.com/weather/today/',
                       'tendays': 'de.weather.com/10tage/'}},

The correct definition is:
 'de': {'phone': {'hourly': u'm.de.weather.com/st\\u00fcndlich/',
                     'today': 'm.weather.com/weather/today/',
                     'tendays': 'm.de.weather.com/10tage/'},
           'desktop': {'hourly': u'de.weather.com/st\\u00fcndlich/',
                       'today': 'www.weather.com/weather/today/',
                       'tendays': 'de.weather.com/10tage/'}},

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.