saokar / urlrewritefilter

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

Outbound rule example is incorrect #132

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The example reads:

<outbound-rule>
    <from>^/world.jsp?country=([a-z]+)&amp;city=([a-z]+)$</from>
    <to>/world/$1/$2</to>
</outbound-rule>

But must read:
<outbound-rule>
    <from>^/world.jsp\?country=([a-z]+)&amp;city=([a-z]+)$</from>
    <to>/world/$1/$2</to>
</outbound-rule>

Question mark is not escaped.

Original issue reported on code.google.com by 1983-01...@gmx.net on 14 Jan 2013 at 2:11

GoogleCodeExporter commented 9 years ago
i have the same probelm , please can you telle me if you find the solution 

Original comment by adnen....@gmail.com on 16 Jun 2014 at 8:51

GoogleCodeExporter commented 9 years ago
i have the same problem too ;-)

Everytime i had a question mark in my url, it breaks at this position. I tried 
out \? but it does not work for me. The same with the example.....

Nobody can help us?

Original comment by sebastia...@googlemail.com on 22 Jan 2015 at 8:35