Pier 2: ? in resfull url's
Jan van de Sandt
jvdsandt at gmail.com
Fri Feb 26 23:44:28 MET 2010
When I switch my pier 2 website to use session cookies I get nice restful
URL's. Only there is a question mark behind the URL even if there are no
I tracked this down to the WUrl>>purgeSeasideFields method. The question
marks disappears when I change the method to:
self queryFields keys do: [ :each |
(self isSeasideField: each)
self queryFields removeKey: each ifAbsent: [ ].
self queryFields isEmpty
ifTrue: [ self queryFields: nil ] ] ]
It is also possible to change the WAUrl>>encodeOn: method to check for an
empty queryFields collection.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the smallwiki