www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Lukens <...@jbic.com>
Subject mod_cgi/4767: HEAD request to nph-cgi's return script's entire output
Date Mon, 26 Jul 1999 10:15:58 GMT

>Number:         4767
>Category:       mod_cgi
>Synopsis:       HEAD request to nph-cgi's return script's entire output
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jul 26 03:20:00 PDT 1999
>Originator:     ben@jbic.com
>Release:        1.3.6
Redhat 6.0, Linux 2.2.5-22, i586
apache 1.3.6 compiled with gcc egcs-2.91.66
If you send a HEAD request to an nph-cgi, you will get the the entire output
of the script, both the HEAD and the rest of the script. Normally a HEAD would
just return everything up to the first blank line.
Send a HEAD request (lynx -dump -head) for http://lucy.jbic.com/cgi-bin/nph-test-cgi.
nph-test-cgi is just the stock test-cgi renamed and with the necessary HTTP
header added.
Stop sending data or kill the cgi once you get a blank line.
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message