goahead icon indicating copy to clipboard operation
goahead copied to clipboard

How to submit an Issue (sample)

Open embedthis opened this issue 11 years ago • 0 comments

Please follow this template when submitting each and every issue. Issues without these details will be marked as "Incomplete" and will not get attention. Make sure you use

  • Use markdown to format. Look at the source of this issue to see how it is done.
  • Edit down any logs. Don't just dump unedited logs. Only post the relevant portions.
  • Use the MakeMe http command in preference to a browser to trigger the issue. It is more controllable.
  • Wherever possible, create an isolated test case, separate from your application to demonstrate the issue. This helps the team to recreate your issue.
  • Include these details on ALL issues.

Environment

GoAhead Version: 3.4.3, built from source (or using pre-built binary) O/S: Linux Ubuntu: 14.04 Hardware: PC Customization: Using own custom security handler. Not involved in this issue.

If building from source, configure command line:

./configure --with openssl

Problem Description:

When issuing the request:

https://localhost:4100/cgi-bin/cgitest?name=John&item=book

the following data is returned

<HTML><TITLE>cgitest: Output</TITLE><BODY>
<H2>Args</H2>
<P>ARG[0]=cgitest</P>

But I expected ARG[0] to be an absolute path.

Http Headers

The http headers from goahead -4 are:

goahead: 4: New connection from 127.0.0.1:56340 to 127.0.0.1:8080

<<< Request
GET /cgi-bin/cgitest?user=john&item=book HTTP/1.1
Accept: */*
Date: Wed, 03 Dec 2014 16:57:43 GMT
Host: 127.0.0.1:8080
Connection: close
User-Agent: Embedthis-http
Accept-Ranges: bytes

>>> Response
HTTP/1.1 200 OK
Server: GoAhead-http
Date: Wed Dec  3 16:57:43 2014
Transfer-Encoding: chunked
Connection: close
Pragma: no-cache
Cache-Control: no-cache
Content-Type:  text/html

embedthis avatar Dec 03 '14 16:12 embedthis