[Swazoo] upwrapFields fix

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Swazoo] upwrapFields fix

Boris Popov, DeepCove Labs (SNN)
Michel,

The following is a change to preserve query data when POST happens to be
made against a URL that contains some (/app?_k=bdwguGGx&14),

unwrapFields: aSwazooRequest
| waFields |
waFields := aSwazooRequest uri queryData copy.
aSwazooRequest isPost
        ifTrue: [aSwazooRequest postData
                        keysAndValuesDo:
                                [:key :field |
                                | value |
                                field filename isNil
                                        ifTrue: [value := field value]
                                        ifFalse:
                                                [value := self
waFileClass new.
                                                value fileName: field
filename.
                                                value contentType: field
contentType.
                                                value contents: field
value].
                                waFields at: key put: value]].
^waFields

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE:[VW][Swazoo] unwrapFields fix

Bany, Michel
Hi Boris,
Thanks for the fix.
I just updated the Seaside bundles (2.6b1.134) on the public repository.
While at it, I also upgraded SeasideScriptaculous.
FYI, SeasideImageTools has also been updated with your recent fix.
Enjoy,
Michel.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: [VW][Swazoo] unwrapFields fix

Boris Popov, DeepCove Labs (SNN)
As always, your help is greatly appreciated.

Cheers!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: Bany, Michel [mailto:[hidden email]]
> Sent: Wednesday, March 14, 2007 7:10 AM
> To: Seaside - general discussion
> Cc: Boris Popov
> Subject: RE:[VW][Swazoo] unwrapFields fix
>
> Hi Boris,
> Thanks for the fix.
> I just updated the Seaside bundles (2.6b1.134) on the public
repository.
> While at it, I also upgraded SeasideScriptaculous.
> FYI, SeasideImageTools has also been updated with your recent fix.
> Enjoy,
> Michel.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside