Patch #9096
Fix redirection to non-latin wiki pages after logon
Status: | Closed | Start date: | 2011-08-22 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Wiki | |||
Target version: | - |
Description
Consider a project having some wiki page with non-latin (russian) characters in URL: http://demo.redmine.org/projects/nonlatinwikipages/wiki/тестовая_страница
When non-authenticated user tries to access this page he is asked to complete logon procedure, after that he'll be redirected to default page ("My page" in my case) instead of wiki page.
This behaviour is caused by a ruby bug #21314: Uri parser not accepting non-Latin characters:
http://rubyforge.org/tracker/index.php?func=detail&aid=21314&group_id=426&atid=1698
Attached patch is mere a workaround for the bug.
History
#1
Updated by Etienne Massip almost 11 years ago
- Category set to Wiki