Commit a5782052 authored by dmose%mozilla.org's avatar dmose%mozilla.org

Fixed perl warning which occurs if $ENV{"CONTENT_TYPE"} is not set.

parent ae2fc61b
......@@ -978,7 +978,7 @@ if (defined $ENV{"REQUEST_METHOD"}) {
}
ProcessFormFields $::buffer;
} else {
if ($ENV{"CONTENT_TYPE"} =~
if (exists($ENV{"CONTENT_TYPE"}) && $ENV{"CONTENT_TYPE"} =~
m@multipart/form-data; boundary=\s*([^; ]+)@) {
ProcessMultipartFormFields($1);
$::buffer = "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment