1 Commits

Author SHA1 Message Date
Aki Goto
25aa740c2a fix for using with FastCGI servers 2022-09-22 11:14:33 +09:00

View File

@@ -424,7 +424,7 @@ sub InitRequest {
} else {
$CGI::DISABLE_UPLOADS = 1; # no uploads
}
$q = new CGI;
$q ||= new CGI;
# Fix some issues with editing UTF8 pages (if charset specified)
if ($HttpCharset ne '') {
$q->charset($HttpCharset);