kenny-hybris / urlrewritefilter

Automatically exported from code.google.com/p/urlrewritefilter
Other
0 stars 0 forks source link

Patch to allow urlrewrite to map params from ServletContext #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What the patch enables us to achieve:

<rule> 
        <note>%{context:foo} maps to the Servlet Context attribute.get("foo")</note> 
        <from>^/page$</from> 
        <to type="proxy">%{context:hostname}UpdatePage?%{query-string}</to> 
</rule> 

The patch also includes an update to VariableReplacerTest to demonstrate the 
new feature.

Original issue reported on code.google.com by RobBol...@gmail.com on 9 Jun 2011 at 10:49

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks,  Changes applied.  See 
https://code.google.com/p/urlrewritefilter/source/detail?r=314

Original comment by tuc...@gmail.com on 24 Oct 2011 at 9:39