[Seaside] post form to external website

Boris Popov boris at deepcovelabs.com
Fri Jan 9 22:30:26 UTC 2009


I submitted this as an improvement request a while ago and it (or some
variant) might already be in latest Seaside 2.9?

-Boris

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

boris at deepcovelabs.com

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: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Jan van
de Sandt
Sent: Friday, January 09, 2009 2:27 PM
To: seaside at lists.squeakfoundation.org
Subject: [Seaside] post form to external website

Hello all,

I'm building a Seaside (version 2.9) component for uploading files
directly to an Amazon S3 bucket. For this AWS supports HTTP POST
requests, see
http://docs.amazonwebservices.com/AmazonS3/2006-03-01/index.html?UsingHT
TPPOST.html

I can create the form that fulfills the AWS specifications, with one
exception: Seaside adds two hidden parameters to the for _s and _k This
breaks the AWS security checks on the form parameters.

These parameters are not required when posting to an external website.
Is there an easy way to remove them in this situation?

Regards,
Jan.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: WARenderCanvas-basicForm.st
Type: application/octet-stream
Size: 371 bytes
Desc: WARenderCanvas-basicForm.st
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090109/93448183/WARenderCanvas-basicForm.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WABasicFormTag.st
Type: application/octet-stream
Size: 688 bytes
Desc: WABasicFormTag.st
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090109/93448183/WABasicFormTag.obj


More information about the seaside mailing list