Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.8.4
-
None
-
ubuntu10.04, jdk6r2, jspwiki2.8.4
Description
When I input some Chinese, and click "quickEdit", it turns to an error page with the url as "http://localhost:8080/wiki/Login?redirect=". No parameters.
I checked the flie named jspwiki-common.js, found that the function cleanLink() couldn't recognize the Chinese with the regex.
When I modify the regex from "^A-Za-z0-9()&,=.$" to "^A-Za-z0-9\u4e00\u9fa5()&,-=.$", It works.
I think that this method may work with other languages.
Attachments
Issue Links
- duplicates
-
JSPWIKI-583 editing pages via the Quick Navigation field does not work for pages with non-ASCII chars (like Aufwandschätzung)
- Closed