Ticket #1783 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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: [email protected] 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

comment:1 Changed 2 years ago by dread

  • Cc [email protected] added
  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [master 8f059ed] aimed for release 1.6.

Note: See TracTickets for help on using tickets.