https://bz.apache.org/bugzilla/show_bug.cgi?id=61191

            Bug ID: 61191
           Summary: CGIServlet puts too much of the path in the
                    SCRIPT_NAME environment variable
           Product: Tomcat 9
           Version: 9.0.0.M21
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: jan0mich...@yahoo.com
  Target Milestone: -----

The environment variable SCRIPT_NAME should be

/cgi-bin/printenv.pl

but is

/var/www/foo/bar/cgi-bin/printenv.pl

See http://www.ietf.org/rfc/rfc3875:
"No PATH_INFO segment (see section 4.1.5) is included in the SCRIPT_NAME
value."

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to