[jboss-jira] [JBoss JIRA] Updated: (JBWEB-190) TomcatResolver in RewriteValve can't resolve environment variable previously stored by a RewriteRule directive

Wenwei Liao (JIRA) jira-events at lists.jboss.org
Wed Dec 1 01:36:04 EST 2010


     [ https://jira.jboss.org/browse/JBWEB-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wenwei Liao updated JBWEB-190:
------------------------------

    Priority: Minor  (was: Major)


> TomcatResolver in RewriteValve can't resolve environment variable previously stored by a RewriteRule directive
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: JBWEB-190
>                 URL: https://jira.jboss.org/browse/JBWEB-190
>             Project: JBoss Web
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Rewrite Valve
>            Reporter: Wenwei Liao
>            Assignee: Remy Maucherat
>            Priority: Minor
>
> In the following test case, http://test.foo.net/news/123 will be rewrote into /null.do instead of /test.do
> RewriteCond		%{HTTP_HOST}		^(.*).foo.net$ [NC]
> RewriteRule		.*				$0 [E=subdomain:%1]
> # news
> RewriteRule		/news/(\d+)		/%{ENV:subdomain}.do [L]
> It seems that subdomain=test has been stored into request.attributes but TomcatResolver doesn't retrive subdomain from request.attributes but via System.getProperty

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list