Project

General

Profile

Actions

Patch #9096

closed

Fix redirection to non-latin wiki pages after logon

Added by Kirill Smirnov over 13 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2011-08-22
Due date:
% Done:

0%

Estimated time:

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.


Files

uri_parse_workaround.diff (743 Bytes) uri_parse_workaround.diff Kirill Smirnov, 2011-08-22 01:06
Actions

Also available in: Atom PDF