Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 39425 invoked from network); 19 Nov 2003 17:31:16 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 19 Nov 2003 17:31:16 -0000 Received: (qmail 75314 invoked by uid 500); 19 Nov 2003 17:30:57 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 75275 invoked by uid 500); 19 Nov 2003 17:30:57 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 75261 invoked from network); 19 Nov 2003 17:30:56 -0000 Received: from unknown (HELO helpmagic-mail.helpmagic.com) (213.120.254.3) by daedalus.apache.org with SMTP; 19 Nov 2003 17:30:56 -0000 Received: from misgl.com ([192.168.4.41]) by helpmagic-mail with InterScan Messaging Security Suite; Wed, 19 Nov 2003 17:49:28 -0000 Message-ID: <3FBBA8B3.8040206@misgl.com> Date: Wed, 19 Nov 2003 17:30:27 +0000 From: Simon Hutchinson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: URL Encoding (Coccon 2.1 cvs as of about 2 weeks ago) References: <3FBB5E96.308@misgl.com> <3FBB8AF5.8070209@umn.edu> In-Reply-To: <3FBB8AF5.8070209@umn.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Tony Collen wrote: > Simon Hutchinson wrote: > > >> This solution works until I try to generate a uri with an illegal >> character ie a space. >> It appears that the request-param is (correctly) decoding the >> parameter I am passing it but unfortunately this is not the behaviour >> I require. >> >> Is there any way that I can re-code the parameter before generating >> it ? >> Or can anyone suggest an alternative means of achieving the same >> end. ie generating html from a remote server. > > > I think what you need is the RawRequestParameterModule. > > See http://wiki.cocoondev.org/Wiki.jsp?page=InputModules Thanks for the suggestion. From the documentation this seems like the correct input module for my issue. It does allow me to reduce my probelm to a simpler case however. With the following sitemap match If I request http://localhost:8080/cocoon/soldoc?url=http://example.com/foo.html the html is returned However even with the "raw-request-param" module specified if I request http://localhost:8080/cocoon/soldoc?url=http://example.com/fo%20o.html I get a file not found exception (the file "fo o.html" does exist and I can get it with the plain url http://example.com/fo%20o.html) Can anyone advise me as to why this might be ? Thanks Si --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org