Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-11-25 23:41 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (693 votes), past polls