cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amir Rosen" <a...@cti2.com>
Subject Spaces in URLs
Date Tue, 13 Aug 2002 18:01:49 GMT
Hi,

Cocoon doesn't seem to handle spaces (and other url-encodings) in the 
url that is handled in the sitemap.

I try a simple sitemap:
			<map:match pattern="file/**">
				<map:read type="resource" src="{1}" />
			</map:match>

and I get
org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.io.FileNotFoundException:
F:\******\test%201.xml (The system cannot find the file specified) 

I.E. 'test 1.xml' was encoded as 'test%201.xml' and wasn't decoded in the sitemap.

I think the request should be decoded before it is passed to the sitemap. (?)


BTW, I'm using:
cocoon 2.0.3
WebSphere 4.0.3



Thanks,

Amir Rosen
CTI Squared
amir@cti2.com
+972-9-9605200 (258)
 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message