Skip to content

How to submit an Issue (sample) #74

@ghost

Description

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 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

Ejscript version: 5.2.0, 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/cgiProgram?name=John&item=book

the following data is returned

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

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

Http Headers

The http headers from ejs -4 are:

08:51:15 1-0-1-1 connection.accept.new peer='127.0.0.1' endpoint='127.0.0.1:4100'

08:51:15 1-0-1-1 rx.first.server method='GET' uri='/cgi-bin/cgiProgram?user=john&item=book' protocol='HTTP/1.1'

08:51:15 1-0-1-1 rx.headers.server
----
GET /cgi-bin/cgiProgram?user=john&item=book HTTP/1.1
Accept: */*
Date: Wed, 03 Dec 2014 16:51:15 GMT
Host: 127.0.0.1:4100
Connection: close
User-Agent: Embedthis-http
Accept-Ranges: bytes
----

08:51:15 1-0-1-1 request.pipeline route='/cgi-bin/' handler='cgiHandler' target='run' endpoint='127.0.0.1:4100' host='127.0.0.1:4100' referrer='' filename='/Users/guest/appweb/test/cgi-bin/cgiProgram'

08:51:15 1-0-1-1 tx.headers.server
----
HTTP/1.1 200 OK
X-Frame-Options: SAMEORIGIN
Content-Type: text/html
X-Content-Type-Options: nosniff
Date: Wed, 03 Dec 2014 16:51:15 GMT
ETag: "24820e7-50dc-547e6c44"
X-XSS-Protection: 1; mode=block
Connection: close
Transfer-Encoding: chunked
Accept-Ranges: bytes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions