You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2006/03/27 10:19:18 UTC
svn commit: r389061 - /lenya/trunk/src/modules/webdav/sitemap.xmap
Author: thorsten
Date: Mon Mar 27 00:19:15 2006
New Revision: 389061
URL: http://svn.apache.org/viewcvs?rev=389061&view=rev
Log:
ASF Bugzilla Bug 39087
[WebDAV] Cannot open .odt files with OpenOffice
Reporter/Patch provider: Jonathan Addison
Thanks Jonathan. :)
Modified:
lenya/trunk/src/modules/webdav/sitemap.xmap
Modified: lenya/trunk/src/modules/webdav/sitemap.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/webdav/sitemap.xmap?rev=389061&r1=389060&r2=389061&view=diff
==============================================================================
--- lenya/trunk/src/modules/webdav/sitemap.xmap (original)
+++ lenya/trunk/src/modules/webdav/sitemap.xmap Mon Mar 27 00:19:15 2006
@@ -154,7 +154,7 @@
</map:call>
</map:match>
- <map:match pattern="PROPFIND/**.html">
+ <map:match pattern="PROPFIND/**.*">
<map:match pattern="PROPFIND/**_*.html">
<map:act type="resource-exists" src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{page-envelope:document-language}.xml">
<map:call function="filePropfind" >
@@ -162,8 +162,8 @@
</map:call>
</map:act>
</map:match>
- <map:match pattern="PROPFIND/**.html">
- <map:act type="resource-exists" src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{page-envelope:document-language}.xml">
+ <map:match pattern="PROPFIND/**_*.*">
+ <map:act type="resource-exists" src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{page-envelope:document-language}.{3}">
<map:call function="filePropfind" >
<map:parameter name="last-modified" value="{page-envelope:document-lastmodified}"/>
</map:call>
@@ -184,7 +184,7 @@
</map:call>
</map:match>
- <map:match pattern="HEAD/**.html">
+ <map:match pattern="HEAD/**.*">
<map:match pattern="HEAD/**_*.html">
<map:act type="resource-exists" src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{page-envelope:document-language}.xml">
<map:act type="set-header">
@@ -194,8 +194,8 @@
</map:act>
</map:act>
</map:match>
- <map:match pattern="HEAD/**.html">
- <map:act type="resource-exists" src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{page-envelope:document-language}.xml">
+ <map:match pattern="HEAD/**_*.*">
+ <map:act type="resource-exists" src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{page-envelope:document-language}.{3}">
<map:act type="set-header">
<map:parameter name="Last-Modified" value="{page-envelope:document-lastmodified}" />
<map:generate src="context://lenya/content/util/empty.xml"/>
@@ -237,6 +237,11 @@
<map:match pattern="DELETE/**">
<map:match pattern="DELETE/**_*.html">
<map:act type="resource-exists" src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{page-envelope:document-language}.xml">
+ <map:call function="remove" />
+ </map:act>
+ </map:match>
+ <map:match pattern="DELETE/**_*.*">
+ <map:act type="resource-exists" src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{page-envelope:document-language}.{3}">
<map:call function="remove" />
</map:act>
</map:match>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org