mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Handle ReadParseMime in CGI
This commit is contained in:
@@ -359,7 +359,7 @@ if ($cgi eq "index.cgi") {
|
||||
}
|
||||
# Otherwise check if it appears to parse any args
|
||||
local $data = &read_file_contents($mroot."/".$cgi);
|
||||
if ($data =~ /ReadParse\(/) {
|
||||
if ($data =~ /(ReadParse|ReadParseMime)\(/) {
|
||||
return "none";
|
||||
}
|
||||
return undef;
|
||||
|
||||
Reference in New Issue
Block a user