You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ch...@apache.org on 2005/10/25 18:06:21 UTC
svn commit: r328402 - in /lenya/trunk/src/webapp/lenya:
resources-shared.xmap resources.xmap
Author: chestnut
Date: Tue Oct 25 09:06:07 2005
New Revision: 328402
URL: http://svn.apache.org/viewcvs?rev=328402&view=rev
Log:
Thanks to a patch from Felix Röthenbacher
fixes bug Bug 37216
Modified:
lenya/trunk/src/webapp/lenya/resources-shared.xmap
lenya/trunk/src/webapp/lenya/resources.xmap
Modified: lenya/trunk/src/webapp/lenya/resources-shared.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/resources-shared.xmap?rev=328402&r1=328401&r2=328402&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/resources-shared.xmap (original)
+++ lenya/trunk/src/webapp/lenya/resources-shared.xmap Tue Oct 25 09:06:07 2005
@@ -57,7 +57,7 @@
<map:read src="fallback://resources/shared/{../3}.{../4}" mime-type="application/x-gtar" />
</map:match>
<map:match type="regexp" pattern="(.*\.)(pdf|PDF|Pdf)$">
- <map:read src="fallback://resources/shared/{../3}.{../4}" mime-type="image/pdf">
+ <map:read src="fallback://resources/shared/{../3}.{../4}" mime-type="application/pdf">
<!-- TODO: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=112496255207733&w=2 -->
<map:parameter name="byte-ranges" value="false"/>
</map:read>
Modified: lenya/trunk/src/webapp/lenya/resources.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/resources.xmap?rev=328402&r1=328401&r2=328402&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/resources.xmap (original)
+++ lenya/trunk/src/webapp/lenya/resources.xmap Tue Oct 25 09:06:07 2005
@@ -48,7 +48,7 @@
<map:read src="fallback://resources/{../2}/{../3}.{../4}" mime-type="application/x-gtar" />
</map:match>
<map:match type="regexp" pattern="(.*\.)(pdf|PDF|Pdf)$">
- <map:read src="fallback://resources/{../2}/{../3}.{../4}" mime-type="image/pdf">
+ <map:read src="fallback://resources/{../2}/{../3}.{../4}" mime-type="application/pdf">
<!-- TODO: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=112496255207733&w=2 -->
<map:parameter name="byte-ranges" value="false"/>
</map:read>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org