Links for hourly weather forecast are broken
Bug #1431930 reported by
Chris Wayne
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://
while it should be:
http://
Notice the badly escaped "ü" character.
To post a comment you must log in.
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: 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/ '}},
'de': {'phone': {'hourly': u'm.de.