Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: "+" stripped from CGI params

by hawtin (Prior)
on Dec 22, 2007 at 13:56 UTC ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-25 17:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found