https://bz.apache.org/bugzilla/show_bug.cgi?id=62688

ITASSIST <p...@itassist.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #2 from ITASSIST <p...@itassist.no> ---
We have tested this very carefully on version 9.0.12 and if we use a variable
inside rewritemap inside a rewriterule we get a different behaviour than
before. Before in version 9.0.11 it did not give any error. It did just not
pick up the variable. When we use it now, it does abviously a syntax check and
claims that variable written in the rewrite rule is invalid. For us it seems
like the parser of this does not understand this syntax: 

RewriteRule .* ${portals:%{HTTP_HOST}}

Gives in catalin.oput startup file:
Caused by: java.lang.IllegalArgumentException: %{HTTP_HOST

portals is a rewritemap type and we have tested that it works if we replace the
%{HTTP_HOST} variable with a hardcoded value, it works correct.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to