PoorMan: Default to UTF-8 character set.
Ideally we would default to no character set, but libhttpd does not seem to support that. Fixes #18424.
This commit is contained in:
@@ -45,7 +45,7 @@ PoorManServer::PoorManServer(const char* webDir,
|
|||||||
(unsigned short)80,//port
|
(unsigned short)80,//port
|
||||||
(char*)0,//cgi pattern
|
(char*)0,//cgi pattern
|
||||||
0,//cgi_limit
|
0,//cgi_limit
|
||||||
(char *)"iso-8859-1",//charset
|
(char*)"utf-8",//charset
|
||||||
(char *)"",//p3p
|
(char *)"",//p3p
|
||||||
-1,//max_age
|
-1,//max_age
|
||||||
const_cast<char*>(webDir),//cwd
|
const_cast<char*>(webDir),//cwd
|
||||||
|
|||||||
Reference in New Issue
Block a user