-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Low
-
Component/s: Work Item - Create - Global
-
7
-
Severity 3 - Minor
NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.
Creating issue with
"Unicode Character 'LINE SEPARATOR' (U+2028)" in summary breaks issue searcher.
Steps to reproduce:
1. go to some page eg. issues->search for issues
2. click create button to create new issue
3. paste text with u+2028 character eg. "Make Payments for sessions
"
the quoted text should have this character at the end, You can check this by going to ge. http://www.url-encode-decode.com/ and encode the string, the output string should have %E2%80%A8 near the end.
4. create issue
5. go back to eg. dashboard
6. return to issues->search for issues
7. the page is broken due to failing JS
after investigation it turned out that the culprit is the old jquery library that we use (i belive 1.7.2) and there is some json string matching there that the string with unicode new line character fails
var Yb=/^(?:\{.*\}|\[.*\])$/
and later
c="true"===c?!0:"false"===c?!1:"null"===c?null:d.isNumeric(c)?+c:Yb.test(c)?d.parseJSON(c):c
that fails and returns string instead of parsed json object.
the workaround is to edit specific issue and delete these "invalid" character.
- is related to
-
JRASERVER-44091 creating issue with utf8 new line character (U+2028) in summary breaks issue search page
-
- Closed
-
- mentioned in
-
Page Loading...