I prefer to fix encodeOn: in Seaside. I've created a bug report:
http://code.google.com/p/seaside/issues/detail?id=550
Thanks for reporting.
Lukas
On 26 February 2010 23:44, Jan van de Sandt <jvdsandt(a)gmail.com> wrote:
Hello,
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
query parameters.
I tracked this down to the WUrl>>purgeSeasideFields method. The question
marks disappears when I change the method to:
purgeSeasideFields
self queryFields keys do: [ :each |
(self isSeasideField: each)
ifTrue: [
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.
Jan.
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
--
Lukas Renggli
http://www.lukas-renggli.ch