X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/79882597b49f0bb28b1b8fafc8bd281b8c79361f..f05dbb306a6374b9fd9db7843a83f9732e63bff4:/doc/bugs/CGI_showed_HTML_when_perl_error.mdwn diff --git a/doc/bugs/CGI_showed_HTML_when_perl_error.mdwn b/doc/bugs/CGI_showed_HTML_when_perl_error.mdwn index 4b185608b..1cb9b94bc 100644 --- a/doc/bugs/CGI_showed_HTML_when_perl_error.mdwn +++ b/doc/bugs/CGI_showed_HTML_when_perl_error.mdwn @@ -1 +1,20 @@ -I didn't have Time/Duration.pm installed when I clicked RecentChanges. The perl failed. The CGI outputed the Content-type: text/html and the complete HTML which included the error in side of the paragraph tags. Maybe a newline was sent before that Content-type line. The web browser didn't render the HTML but just showed the source. \ No newline at end of file +I didn't have Time/Duration.pm installed when I clicked RecentChanges. The perl failed. The CGI outputed the Content-type: text/html and the complete HTML which included the error in side of the paragraph tags. Maybe a newline was sent before that Content-type line. The web browser didn't render the HTML but just showed the source. + +> I can't reproduce this, I get a properly formatted error page. +> If you'd like to send me the page, I can try to figure out what +> happened. --[[Joey]] + +>> The page is fine. I can reproduce by just putting a typo or error in a +>> plugin. I used tcpdump. When I am missing plugin I get a newline 0a +>> before Content-Type: + + 0x0030: 0000 0003 0000 0000 0a43 6f6e 7465 6e74 .........Content + +>> And with it working, no newline: + + 0x0030: 0000 0003 0000 0000 436f 6e74 656e 742d ........Content- + +>> I am using mini_httpd. I guess I could try another webserver real quick. +>> +>> --JeremyReed +