[Zope] Re: REQUEST.form variables order

Tres Seaver tseaver at palladion.com
Wed Apr 19 15:26:43 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gaute Amundsen wrote:
> I want to retrieve the form fields in the order that they where submitted in 
> the http POST. I know this has been brought up before, and that the answer is 
> "You cant."
> 
> http://mail.zope.org/pipermail/zope/2005-October/162460.html
> 
> For zope to refuse to expose this information to me is really quite arrogant 
> and un-unix like behavior. After all unix lets you do "rm -rf /"...

The answer isn't arrogant, and we aren't *preventing* you from gaining
access to that information.  The implementation which we use for
extracting the form data from the request is the standard Python
'cgi.py' module:  it doesn't preserve that information, so we can't pass
it on to you.  That we accept this state of affairs is a sign that we
don't share your itch, not that we doubt you have it.

Given that this is open source, you *can* modify ZPublisher such that it
uses a different mechanism to parse the form data, and are free to
submit back such a patch to be included in a future Zope release.


Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFERo7z+gerLs4ltQ4RAl98AKDF3B/ErUoUhrsBjfLiDbeLxLcamwCeNGIT
ZGsRGlVaSuv99TFzCxjT+rI=
=njQy
-----END PGP SIGNATURE-----



More information about the Zope mailing list