in reply to (Ovid) Re: cgi_handlers.pl
in thread cgi_handlers.pl

One more bug: It is perfectly valid (although I think it should be avoided) to pass information in the query string of a POST request.

Replies are listed 'Best First'.
(Ovid) Re(3): cgi_handlers.pl
by Ovid (Cardinal) on Nov 06, 2001 at 04:16 UTC

    Nice catch. Yes, I think that qualifies as a bug but I didn't list it as there is a workaround: set $ENV{'REQUEST_METHOD'} to 'GET' and call get_request() again (after previously saving the contents of %rqpairs). This is a typical workaround for most faulty implementations, but it bugs me that most cgi handlers miss this.

    Cheers,
    Ovid

    Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.