Skip to content

Commit

Permalink
Also accept .htm as extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebruchez committed Sep 27, 2011
1 parent d7504f4 commit 235d0e6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Expand Up @@ -16,7 +16,7 @@

<!-- Files to serve directly (and exclude files under /[app]/service/) -->
<!-- NOTE: We leave this here so that the page flow creates the list of path matchers for XForms versioned resources -->
<files path-info="(?!/([^/]+)/service/).+\.(gif|css|pdf|json|js|png|jpg|xsd|htc|ico|swf|html|txt)" matcher="oxf:perl5-matcher"/>
<files path-info="(?!/([^/]+)/service/).+\.(gif|css|pdf|json|js|png|jpg|xsd|htc|ico|swf|html|htm|txt)" matcher="oxf:perl5-matcher"/>

<!-- This should be the only path matched -->
<page id="renderer" path-info="/xforms-renderer" model="xforms-renderer.xpl"/>
Expand Down
2 changes: 1 addition & 1 deletion src/resources/page-flow-portlet-edit.xml
Expand Up @@ -15,7 +15,7 @@
xmlns:oxf="http://www.orbeon.com/oxf/processors">

<!-- Files to serve directly (and exclude files under /[app]/service/) -->
<files path-info="(?!/(xforms-server|([^/]+)/service/)).+\.(gif|css|pdf|json|js|png|jpg|xsd|htc|ico|swf|html|txt)" matcher="oxf:perl5-matcher"/>
<files path-info="(?!/(xforms-server|([^/]+)/service/)).+\.(gif|css|pdf|json|js|png|jpg|xsd|htc|ico|swf|html|htm|txt)" matcher="oxf:perl5-matcher"/>
<!-- Also exclude .xml files handled by Form Runner -->
<files path-info="(?!/(xforms-server|fr|([^/]+)/service)/).+\.xml" matcher="oxf:perl5-matcher" mime-type="application/xml"/>
<!-- For the following we override the standard mediatype to help browsers -->
Expand Down
2 changes: 1 addition & 1 deletion src/resources/page-flow-portlet.xml
Expand Up @@ -15,7 +15,7 @@
xmlns:oxf="http://www.orbeon.com/oxf/processors">

<!-- Files to serve directly (and exclude files under /[app]/service/) -->
<files path-info="(?!/(xforms-server|([^/]+)/service/)).+\.(gif|css|pdf|json|js|png|jpg|xsd|htc|ico|swf|html|txt)" matcher="oxf:perl5-matcher"/>
<files path-info="(?!/(xforms-server|([^/]+)/service/)).+\.(gif|css|pdf|json|js|png|jpg|xsd|htc|ico|swf|html|htm|txt)" matcher="oxf:perl5-matcher"/>
<!-- Also exclude .xml files handled by Form Runner -->
<files path-info="(?!/(xforms-server|fr|([^/]+)/service)/).+\.xml" matcher="oxf:perl5-matcher" mime-type="application/xml"/>
<!-- For the following we override the standard mediatype to help browsers -->
Expand Down
2 changes: 1 addition & 1 deletion src/resources/page-flow.xml
Expand Up @@ -15,7 +15,7 @@
xmlns:oxf="http://www.orbeon.com/oxf/processors">

<!-- Files to serve directly (and exclude files under /[app]/service/) -->
<files path-info="(?!/([^/]+)/service/).+\.(gif|css|pdf|json|js|png|jpg|xsd|htc|ico|swf|html|txt)" matcher="oxf:perl5-matcher"/>
<files path-info="(?!/([^/]+)/service/).+\.(gif|css|pdf|json|js|png|jpg|xsd|htc|ico|swf|html|htm|txt)" matcher="oxf:perl5-matcher"/>
<!-- Also exclude .xml files handled by Form Runner -->
<files path-info="(?!/(fr|([^/]+)/service)/).+\.xml" matcher="oxf:perl5-matcher" mime-type="application/xml"/>
<!-- For the following we override the standard mediatype to help browsers -->
Expand Down

0 comments on commit 235d0e6

Please sign in to comment.