Details
-
Bug
-
Resolution: Fixed
-
Low
-
3.13.3
-
None
-
Enterprise
Standalone
CentOS 5.2
Sun JDK 1.6
-
3.13
-
Description
■ Steps to reproduce
0. Sign in to JIRA, ensure the user's locale is set to English.
1. Select "Find Issues", and expose the search criterion UI.
2. Set a field in "Dates & Times". For example, set "Created Before" to the value representing "2009 June 20th."
3. Execute the search (Click "view").
4. Click "permlink".
5. After the browser finishes navigating to the "permalink" URL, observe the related portion of the URL.
Following our example, it will be: "... &created%3Abefore=20%2FJun%2F09 ..."
Repeating this process while, for example, Chinese & Japanese user locales in effect produces different URLs.
Following our example:
zh: "... &created%3Abefore=20%2F%E5%85%AD%E6%9C%88%2F09 ..." (rendered as '20/六月/09')
ja: "... &created%3Abefore=20%2F6%2F09 ..." (rendered as '20/6/09')
en: "... &created%3Abefore=20%2FJun%2F09 ..." (rendered as '20/Jun/09')
To reproduce the problem, visit one of the links whose date portion of the URL is encoded using any locale but your current one.
JIRA will greet the visitor with this message (in the case of English):
"There are errors with your search query on the left, please correct them before continuing."
As is, this phenomenon renders the valuable permlink feature inoperable between users of differing locales,
which leads to frustration of business processes.
■ Desired Behavior
Such dates embedded in URLs are encoded in a single canonical format regardless of locale.
Users in various world regions can successfully share & use permlink URLs with each other.