Anonymous committed a393f0f

Always transcode the request path info to UTF-8. Seems to fix #1239.

  • Participants
  • Parent commits be03344
  • Branches trunk

Comments (0)

Files changed (1)

File trac/web/

 from trac.core import *
 from trac.env import open_environment
 from trac.perm import PermissionCache, PermissionError
-from trac.util import escape, enum, format_datetime, http_date
+from trac.util import escape, enum, format_datetime, http_date, to_utf8
 from trac.web.api import absolute_url, Request, RequestDone, IAuthenticator, \
 from import Chrome
     if not base_url:
         base_url = absolute_url(req)
     req.base_url = base_url
-    req.path_info = path_info
+    req.path_info = to_utf8(path_info)
     env.href = Href(req.cgi_location)
     env.abs_href = Href(req.base_url)