Subject: | '+' converted to space in POST/GET |
For a simple program like this (named cgi.pl):
#!/usr/bin/perl -w
use strict;
use CGI;
my $cgi = new CGI;
print $cgi->param('a');
All plus characters are converted to spaces:
./cgi.pl 'a=1+2'
1 2
Same happens if I try it with a POST or GET request. The 9 year old bug
returned:
https://rt.cpan.org/Public/Bug/Display.html?id=1933
(perl v5.12.4 built for i486-linux-gnu-thread-multi-64int)
Tried in CGI v3.43 and v3.49