Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 56642 invoked from network); 24 Dec 2004 17:46:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Dec 2004 17:46:50 -0000 Received: (qmail 64336 invoked by uid 500); 24 Dec 2004 17:46:46 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 64265 invoked by uid 500); 24 Dec 2004 17:46:45 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 64247 invoked by uid 99); 24 Dec 2004 17:46:45 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail5.dslextreme.com (HELO mail5.dslextreme.com) (66.51.199.81) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 24 Dec 2004 09:46:42 -0800 Received: (qmail 4053 invoked from network); 24 Dec 2004 17:46:40 -0000 Received: from unknown (HELO [192.168.10.10]) (66.51.196.164) by 192.168.8.93 with SMTP; Fri, 24 Dec 2004 17:46:40 +0000 Message-ID: <41CC55FF.4000604@dslextreme.com> Date: Fri, 24 Dec 2004 09:46:39 -0800 From: Ralph Goers User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [Bug]PortalPageLabels can't handle non-ascii labelname References: In-Reply-To: Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N roy huang wrote: >Hi all: > With help of wiki http://wiki.apache.org/cocoon/PortalPageLabels, I change portal using label.It works fine until I use non-ASCII labelname ,the url generate by portal can't recognize by portal. > For example: > If label name is:��������Simplified Chinese����url is:portal-page?pageLabel=%B9%AB%B8%E6%C0%B8,it won't work > Because I'm using utf-8 encoding ,so I change url to portal-page?pageLabel=%E5%85%AC%E5%91%8A%E6%A0%8F,it works > > So the bug is obviously caused by url encoding. > > WDYT? > >Roy Huang > > I opened a bug report on your behalf (bug 32838). You should register with bugzilla and open them yourself so you can be notified of updates. http://issues.apache.org/bugzilla/show_bug.cgi?id=32838 As soon as I can test the code I will commit it. I will not be able to test Chinese so once I do you will need to verify it. Ralph