Ticket #1804 (closed defect: fixed)
CKAN mounted at URL - changing language problem
| Reported by: | dread | Owned by: | toby | 
|---|---|---|---|
| Priority: | major | Milestone: | ckan-sprint-2012-03-05 | 
| Component: | ckan | Keywords: | [0.5d] | 
| Cc: | augusto.herrmann@… | Repository: | ckan | 
| Theme: | none | 
Description
e.g. http://189.9.137.65/dados/ clicking on Deutsch link is http://189.9.137.65/dados/locale?locale=de&return_to=%2Fdados%2F&hash=1dc17c315c419df850da0dd3599eefa9da76fbeb and redirect goes to http://189.9.137.65/dados/dados/?__cache=97995106 so /dados/dados/ when it should be /dados.
Affects CKAN 1.6b only (not yet released).
Change History
comment:2 Changed 2 years ago by dread
- Keywords [0.5d] added
I'll fix this on release-v1.6 and then reassign to Toby to fix on feature-1653-i18n_url_rewriting too if the same issue crops up there.
Note: See
        TracTickets for help on using
        tickets.
    

This should be fixed in branch feature-1653-i18n_url_rewriting as we use different logic. However it may affect other return_to calls used elsewhere like adding a new package.