in reply to Re^2: Perl form user input
in thread Perl form user input
$value =~ s/\s+//g; # remove any spaces
This is the line that is removing all whitespace from the values. You could probably comment it out (put a # at the beginning of the line), although that will affect all form values.
As I said, this is a very old style of Perl CGI. I would strongly recommend a security audit and, at least at some point, an overhaul.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl form user input
by Anonymous Monk on Jun 10, 2019 at 18:42 UTC |