When a function contains other expressions, or is followed by other
expressions, parsing does not appear to act correctly
Trying to pass a url like this:
www.mysite.com/?locale=uk
Some work as expected, some do not:
Example parsings:
to: http://${replaceFirst:%{server-name}:www:test}
actual: http://test.mysite.com
expected: http://test.mysite.com
to: http://${replaceFirst:%{server-name}:www:%{parameter:locale}}
actual: http://%{parameter:locale}.mysite.com
expected: http://uk.mysite.com
to: http://%{parameter:locale}.${replaceFirst:%{server-name}:www:test}
actual: http://uk.test.mysite.com
expected: http://uk.test.mysite.com
to: http://${replaceFirst:%{server-name}:www:test}/%{parameter:locale}
actual: http://test}/%{parameter:locale.mysite.com
expected: http://test.mysite.com/uk
Original issue reported on code.google.com by nathan.m...@gmail.com on 3 Apr 2013 at 10:07
Original issue reported on code.google.com by
nathan.m...@gmail.com
on 3 Apr 2013 at 10:07