Differences From Artifact [a2bd5b3c92]:
- File src/printf.c — part of check-in [0336ac7715] at 2018-06-30 10:39:22 on branch trunk — Fix the fossil_fatal() routine so that it avoids trying to do a webpage display if the repository database has not yet been opened. (user: drh size: 37568) [more...]
To Artifact [072d823ae3]:
- File src/printf.c — part of check-in [cfc7aca2c1] at 2018-07-14 14:13:31 on branch trunk — Add the --nocompress option to the "ui", "server", and "http" commands. This option prevents HTTP reply compression, which is useful during debugging. The option is on by default for "test-http". Also, make sure the mimetype for error messages is set to text/html. (user: drh size: 37609)
| ︙ | |||
1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 | 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 | + |
}
else
#endif
{
if( g.cgiOutput==1 && g.db ){
g.cgiOutput = 2;
cgi_reset_content();
cgi_set_content_type("text/html");
style_header("Bad Request");
@ <p class="generalError">%h(z)</p>
cgi_set_status(400, "Bad Request");
style_footer();
cgi_reply();
}else if( !g.fQuiet ){
fossil_force_newline();
|
| ︙ |