-
Bug
-
Resolution: Done
-
Major
-
10.1.0.Final
-
None
Context:
A URL in the form of "http://somehost.org/path/a/b" should be rewritten to "http://somehost.org/newpath?param1=a¶m2=b"
The following filter should perform this rewrite:
<expression-filter name="rewrite-path" expression="regex('^/path/([^/]+)/(.*)/?$') -> rewrite('/newpath'); set(attribute='%{QUERY_STRING}', value='param1=$1&param2=$2'); done()"/>
Problem:
The output is (according to access-log);
somehost.org "GET /newpath?param1=b
- param1 is assigned to the value of $2
- param2 is dropped completly
- is cloned by
-
UNDERTOW-1134 rewrite handler handles references to contextual values incorrect
- Resolved
- relates to
-
WFLY-8641 rewrite handler produces invalid URLs when used with query part
- Closed