I have this rule:
<rule>
<name>Receipt</name>
<from>^/receipt$</from>
<to last="true">/modules/confirmation.do</to>
</rule>
I then go to the following URL:
http://localhost:8087/receipt?location=http%3A%2F%2Flocalhost%3A8087%2Fapi%2Freceipts%2FXXYYZZ
Since I do not have qsappend="true"
, I expect the final URL to be just:
http://localhost:8087/modules/confirmation.do
But it is fact:
http://localhost:8087/modules/confirmation.do?location=http%3A%2F%2Flocalhost%3A8087%2Fapi%2Freceipts%2FXXYYZZ
If I then add qsappend="true"
, I get double parameters, like this:
http://localhost:8087/modules/confirmation.do?location=http%3A%2F%2Flocalhost%3A8087%2Fapi%2Freceipts%2FXXYYZZ&location=http%3A%2F%2Flocalhost%3A8087%2Fapi%2Freceipts%2FXXYYZZ