Link to home
Start Free TrialLog in
Avatar of gy7
gy7

asked on

IIS4 passing a value that contains a whitespace to a perl CGI

My perl CGIs worked fine with other web servers (Sambar, Xitami), but now I need them to work on IIS4.
The problem is when I'm trying to pass a value that contains a whitespace to my CGI. IIS just won't do that.

My CGI has a line like this:
$var = param('Name');
And I'm calling it like this:
MyCGI.pl?Name=Some Value
And it doesn't work (as I mentioned - it worked on other web servers).
It only workes like that:
MyCGI.pl?Name=SomeValue

Can somebody help me?  
ASKER CERTIFIED SOLUTION
Avatar of MasseyM
MasseyM

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gy7
gy7

ASKER

Thanks, I tried it, but it does not work...
Avatar of gy7

ASKER

Well, after a long struggle, the correct solution turned out to be replacing the spaces with "+"s.
Anyway, thanks, you helped leading me there.