Gossamer Forum
Quote Reply
[BUG] GT::CGI
I remember a very old GT::CGI bug, which I found a few years ago.
The parameters collected into arrays are sorted incorrectly in reverse order.

Quote:
<input type="text" name="upload_description" value="aaa">
<input type="text" name="upload_description" value="bbb">

When printed using get_hash, they should be ordered:
[ aaa, bbb ]

But instead they are ordered:
[ bbb, aaa ]


I quickly checked this, and it seems true, however I'm really tired now, so didn't double check it.


This bug also caused my site working incorrectly after I changed from CGI.pm to GT::CGI.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Subject Author Views Date
Post [BUG] GT::CGI webmaster33 1570 Apr 3, 2005, 10:26 PM