Ticket #1783 (closed defect: fixed)
Locale change exception when unicode in URL
Reported by: | dread | Owned by: | dread |
---|---|---|---|
Priority: | major | Milestone: | ckan-sprint-2012-02-20 |
Component: | ckan | Keywords: | |
Cc: | augusto.herrmann@… | Repository: | ckan |
Theme: | none |
Description
If the current page URL has unicode in it (e.g. u'/tag/biocombust\xedveis') then I'm not sure how why it isn't more encoded, but we are seeing links such as http://beta.dados.gov.br/dados/locale?locale=hu&return_to=/dados/tag/biocombust%C3%ADveis&hash=7fd941b5ba1a28bc84406c4191bf07b45a42a251 which cause an exception when the foreign character is passed to ckan.lib.hash.get_message_hash().
Change History
Note: See
TracTickets for help on using
tickets.
Fixed in [master 8f059ed] aimed for release 1.6.