[Bug 467538] [NEW] Ubuntu patch shouldn't remove SCRIPT_NAME support

Lino Mastrodomenico l.mastrodomenico at gmail.com
Sat Oct 31 22:14:42 UTC 2009


Public bug reported:

Binary package hint: mini-httpd

The patch debian/patches/03-cgi-php.dpatch for mini-httpd correctly adds
support for the CGI environment variable SCRIPT_FILENAME, but it also
incorrectly removes support for SCRIPT_NAME (which is required by some
CGI scripts).

Since SCRIPT_NAME is defined by the CGI 1.1 specification
(<http://hoohoo.ncsa.illinois.edu/cgi/env.html>) and AFAIK it was
correctly implemented in mini-httpd, the patch should add
SCRIPT_FILENAME without removing SCRIPT_NAME.

I'm using mini-httpd 1.19-8 on Ubuntu 9.04, but this bug seems to be
present in all recent Ubuntu versions. AFAICT this bug is inherited from
the Debian package.

** Affects: mini-httpd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Ubuntu patch shouldn't remove SCRIPT_NAME support
https://bugs.launchpad.net/bugs/467538
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list