-
Bug
-
Resolution: Fixed
-
Medium
-
1.3
-
None
-
Solaris 9, Tomcat 5.0.x, UTF-8 encoding set in Confluence and also using -Dfile.encoding
Reproduction:
1. Create a new space.
2. Rename space's home page. Use non-ascii characters in the new name, for instance č (c with carret). Let's say we name it "Home of čžš" (without quote marks).
3. Go to the dashboar.
In the "Your Spaces" portlet, there are two ways of accessing the space's home page. One is a link the "Space (Key)" column, another is the home icon in "Operations" column. Second method works, as the URL has been changed to "webapp style", e.g. http://example.com/confluence/pages/viewpage.action?pageId=99. The first method sends you to space URL (e.g. http://example.com/confluence/display/PES, where PES is the space key), which then redirects you (via HTTP 302) to the "wiki style" URL, in this case http://example.com/confluence/display/PES/Home%2Bof%2B%25C4%258D%25C5%25BE%25C5%25A1).
The problem with this URL is that it does not conform to RFC 2396, paragraph 2.4.1. In practice, this screws Apache's mod_proxy big time.
I suspect that in the first method the URL went twice through URLEncoder. Java's URLEncoder encodes "Home of čžš" as "Home+of+%C4%8D%C5%BE%C5%A1". That would explain why letter č is encoded as %25C4%258D instead of %C4%8D. Though manually stripping '25' does not yield an URL that Confluence recognizes...
- relates to
-
CONFSERVER-2023 Page titles may contain characters not permitted by the filesystem, breaking exports
-
- Closed
-
[CONFSERVER-2461] wrong URL encoding of non-ASCII chars when redirected to space homepage
Workflow | Original: JAC Bug Workflow v3 [ 2896751 ] | New: CONFSERVER Bug Workflow v4 [ 2989810 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2788157 ] | New: JAC Bug Workflow v3 [ 2896751 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2719025 ] | New: JAC Bug Workflow v2 [ 2788157 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2387247 ] | New: JAC Bug Workflow [ 2719025 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2261102 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2387247 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2207662 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2261102 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2185404 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2207662 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1927441 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2185404 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1737209 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1927441 ] |
Workflow | Original: CONF Bug Subtask WF (TEMP) [ 1696627 ] | New: Confluence Workflow - Public Facing - Restricted v3 [ 1737209 ] |