]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/CGI_showed_HTML_when_perl_error.mdwn
* Allow multiple tag settings to appear in a single page.
[ikiwiki.git] / doc / bugs / CGI_showed_HTML_when_perl_error.mdwn
1 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.
2
3 > I can't reproduce this, I get a properly formatted error page.
4 > If you'd like to send me the page, I can try to figure out what
5 > happened. --[[Joey]]
6
7 >> The page is fine. I can reproduce by just putting a typo or error in a
8 >> plugin. I used tcpdump. When I am missing plugin I get a newline 0a
9 >> before Content-Type:
10
11     0x0030:  0000 0003 0000 0000 0a43 6f6e 7465 6e74  .........Content
12
13 >> And with it working, no newline:
14
15     0x0030:  0000 0003 0000 0000 436f 6e74 656e 742d  ........Content-
16
17 >> I am using mini_httpd. I guess I could try another webserver real quick.
18 >>
19 >> --JeremyReed
20