youtube/gopher: use the path relative to the base directory - frontends - front-ends for some sites (experiment)
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit b0a8d5b6a5b42748eb87a17b45cd81ab0e9edee2
 (DIR) parent 6abd1bf1ad4172b25c28cf9e03395e70cc7b657d
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       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(-)
       ---
 (DIR) 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;