You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.)
The text was updated successfully, but these errors were encountered:
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.)
The text was updated successfully, but these errors were encountered: