incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Holeczek (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JSPWIKI-675) quickEdit couldn't work when input Chinese
Date Mon, 16 Jul 2012 20:22:34 GMT

     [ https://issues.apache.org/jira/browse/JSPWIKI-675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Florian Holeczek updated JSPWIKI-675:
-------------------------------------

    Issue Type: Bug  (was: Wish)
    
> quickEdit couldn't work when input Chinese
> ------------------------------------------
>
>                 Key: JSPWIKI-675
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-675
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Localization
>    Affects Versions: 2.8.4
>         Environment: ubuntu10.04, jdk6r2, jspwiki2.8.4
>            Reporter: Tony Lin
>            Assignee: brushed
>             Fix For: 2.8.5, 3.0, 2.9
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message