Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@minotaur.apache.org Received: (qmail 9241 invoked from network); 5 Dec 2010 10:34:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Dec 2010 10:34:36 -0000 Received: (qmail 32614 invoked by uid 500); 5 Dec 2010 10:34:36 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 32463 invoked by uid 500); 5 Dec 2010 10:34:34 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 32435 invoked by uid 99); 5 Dec 2010 10:34:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Dec 2010 10:34:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Dec 2010 10:34:31 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oB5AYBiZ027232 for ; Sun, 5 Dec 2010 10:34:11 GMT Message-ID: <12289780.115391291545251322.JavaMail.jira@thor> Date: Sun, 5 Dec 2010 05:34:11 -0500 (EST) From: "Dirk Frederickx (JIRA)" To: jspwiki-dev@incubator.apache.org Subject: [jira] Resolved: (JSPWIKI-675) quickEdit couldn't work when input Chinese In-Reply-To: <30383907.74501291306030647.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JSPWIKI-675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dirk Frederickx resolved JSPWIKI-675. ------------------------------------- Resolution: Fixed Fix Version/s: 3.0 2.8.5 Solved in v2.8.5 and v3.0.0. > quickEdit couldn't work when input Chinese > ------------------------------------------ > > Key: JSPWIKI-675 > URL: https://issues.apache.org/jira/browse/JSPWIKI-675 > Project: JSPWiki > Issue Type: Wish > Components: Localization > Affects Versions: 2.8.4 > Environment: ubuntu10.04, jdk6r2, jspwiki2.8.4 > Reporter: Tony Lin > Assignee: Dirk Frederickx > Fix For: 2.8.5, 3.0 > > > 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. - You can reply to this email to add a comment to the issue online.