Skip to content

Incorrect path supplied by wsapi.cgi #37

@davidgiven

Description

@davidgiven

wsapi.cgi uses "$@" to get the path to the script. This doesn't work if the script path is a relative filename such as 'fnord.cgi'; the path parsing fails later on as it gets confused about where the script is.

I've managed to bodge it by using "$PWD/$@", but it should really be canonicalising the path.

(Apache's suexec does this; it seems to cd into the cgi-bin directory before running the script.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions