Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: (Ovid - hand-rolled CGI review) Re: variables not posting?

by dws (Chancellor)
on May 03, 2001 at 17:24 UTC ( [id://77720]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to (Ovid - hand-rolled CGI review) Re: variables not posting?
in thread variables not posting?

Line 2: The semicolon is an alternate delimeter. An agent submits data using that and your code breaks. Of course, since you can't guarantee that the data in $temp isn't corrupt...

I'd like to see some evidence.

Of the various good arguments for using CGI.pm, this one has always struck me as the weakest. The use of a semicolon as an argument delimeter is so effectively deprecated as to be non-existent. When is the last time you heard of any agent using a semicolon as a delimeter (other than a hand-rolled agent whose purpose is to demonstrate that it can be done)? What browsers use a semicolon?

I know of a few public web-based systems that have run for years without encountering a semicolon used as a parameter delimeter. Is that proof that such a thing can never happen? No. Are these systems at risk? No, unless some practical joker decides to hand-roll a request.

  • Comment on Re: (Ovid - hand-rolled CGI review) Re: variables not posting?

Replies are listed 'Best First'.
Re: Re: (Ovid - hand-rolled CGI review) Re: variables not posting?
by merlyn (Sage) on May 03, 2001 at 21:34 UTC
    It's the opposite of deprecated. It's intended to be supported in the future, so if you don't start supporting it now, browsers which use it in the future will break your code.

    -- Randal L. Schwartz, Perl hacker

      It's intended to be supported in the future, so if you don't start supporting it now, browsers which use it in the future will break your code.

      Do I detect the faint scent of some large corporation sneaking this into some specification to guarantee the future obsolescence of everyone else's software? :-(

        No, it's just that the ampersand was a bad choice to use, but the original designers of cgi were doing the best they could. :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://77720]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.