Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: "+" stripped from CGI params

by hawtin (Prior)
on Dec 22, 2007 at 13:56 UTC ( #658650=note: print w/ replies, xml ) Need Help??


in reply to "+" stripped from CGI params

I would suspect that this has to do with the different options for the form's enctype when the method is POST. This controls the way the parameters are delivered to CGI, from memory:

  • not-defined => "param1=one+value¶m2=another+val"
  • "text/plain" => "param1=one value param2=another val"
  • "multipart/form-data" => "param1=one value\nparam2=another val\n"

My guess would be that since the default is to replace all spaces with "+" the CGI parameter processing by default does the reverse


Comment on Re: "+" stripped from CGI params

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://658650]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2014-09-20 10:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (158 votes), past polls