When using a StatelessForm on a page mounted with IndexedParamUrlCodingStrategy/MixedParamUrlCodingStrategy, parameters added to the URL path are not url-encoded.
It's actually coming from RequestCycle.urlFor(). There is a note on line 917 of that file indicating "Do not encode values here. It is the encoder's job to do the endoding". So perhaps I'm doing something wrong, but I'm surprised to see different behavior when the form is stateless.
Another user reported what I believe is probably the same issue here:
In that thread Igor responded "forms do not support indexed strategies since they need actual parameternames", which frankly, I do not understand. I'm adding parameters like:
PageParameters params = new PageParameters();
and I assume that "0" qualifies as a named parameter.
I will attach a quickstart to demonstrate.
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|95d 17h 21m||1||Martin Grigorov||19/Sep/11 09:59|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||1.5.0 [ 12315432 ]|
|Resolution||Fixed [ 1 ]|