Introduction
Introduction Statistics Contact Development Disclaimer Help
youtube/gopher: use the path relative to the base directory - frontends - front…
Log
Files
Refs
README
LICENSE
---
commit b0a8d5b6a5b42748eb87a17b45cd81ab0e9edee2
parent 6abd1bf1ad4172b25c28cf9e03395e70cc7b657d
Author: Hiltjo Posthuma <[email protected]>
Date: Fri, 7 Apr 2023 12:17:54 +0200
youtube/gopher: use the path relative to the base directory
Reported by moth, thanks!
Diffstat:
M youtube/gopher.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/youtube/gopher.c b/youtube/gopher.c
@@ -276,7 +276,7 @@ main(void)
host = p;
if ((p = getenv("SERVER_PORT")))
port = p;
- if ((p = getenv("PATH_TRANSLATED")))
+ if ((p = getenv("PATH_INFO")))
requestpath = p;
if ((p = getenv("QUERY_STRING")))
querystring = p;
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.