cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Joseph <pjos...@gmail.com>
Subject how to make sitemap entries case insensitive
Date Mon, 30 Jan 2012 15:09:08 GMT
Hi there,

The cocoon site map is case sensitive (
http://cocoon.apache.org/2.1/userdocs/parameter-selector.html).

I have the need to upload various images...I have a sitemap (parts shown 
below).

<map:match pattern="*.bmp">
<map:read mime-type="image/bmp"
  src="context://webtask/taskfiles/{0}"/>
</map:match>


However the customer tried to upload a file whose extension was in CAPS. 
as in myimage.BMP

Any way to "compactly" address this instead of duplicating all the 
entries with their cap eqivalents?

Paul

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


Mime
View raw message