Ubuntu patch shouldn't remove SCRIPT_NAME support

Bug #467538 reported by Lino Mastrodomenico
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mini-httpd (Debian)
Fix Released
Unknown
mini-httpd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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.

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

If the problem comes from Debian package also, could you please report it also to Debian? You can use reportbug --bts debian mini-http for that.

Thanks,
Fabrice

Revision history for this message
Lino Mastrodomenico (l-mastrodomenico) wrote :

I've reported this to Debian.

Changed in mini-httpd (Debian):
status: Unknown → New
Changed in mini-httpd (Debian):
status: New → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

The Debian version that fixes this bug has been synced to xenial.

Changed in mini-httpd (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.