diff options
Diffstat (limited to 'httpd/cgi-bin/check')
-rwxr-xr-x | httpd/cgi-bin/check | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index 61c2a1d..c784aed 100755 --- a/httpd/cgi-bin/check +++ b/httpd/cgi-bin/check @@ -2090,8 +2090,7 @@ sub ent local $_ = shift; return '' unless defined; # Eliminate warnings - # TODO: Err, why have " twice in the character class? ' maybe? - s(["<&>"]){'&#' . ord($&) . ';'}ge; # should switch to hex sooner or later + s(["<&>']){'&#' . ord($&) . ';'}ge; # should switch to hex sooner or later return $_; } |