diff options
author | justdave%syndicomm.com <> | 2002-04-21 01:17:54 +0200 |
---|---|---|
committer | justdave%syndicomm.com <> | 2002-04-21 01:17:54 +0200 |
commit | 8d135242d4a7241bd6ad70c6ec004a1dadd6e502 (patch) | |
tree | f242b6158bd0b757e501f0c1139e84fc3ca2681a | |
parent | 963bbf79535bb4b18c7f33901154de11e62dc529 (diff) | |
download | bugzilla-8d135242d4a7241bd6ad70c6ec004a1dadd6e502.tar.gz bugzilla-8d135242d4a7241bd6ad70c6ec004a1dadd6e502.tar.xz |
Fix for bug 125013: ProcessMultipartFormFields in CGI.pl would hang if the posting browser included regexp metacharacters in its boundary string.
Patch by tkl@telenet.ch (Thomas Klaeger)
2xr= justdave
-rw-r--r-- | CGI.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -191,7 +191,7 @@ sub ProcessMultipartFormFields { # If the current input line is a boundary line, save the previous # form value and reset the storage variables. - if ($_ =~ m/^-*$boundary/) { + if ($_ =~ m/^-*\Q$boundary\E/) { if ( $fieldname ) { chomp($fieldvalue); $fieldvalue =~ s/\r$//; |