[Pkg-nginx-maintainers] Bug#911398: nginx-common: Fix fastcgi-php.conf regex

Elrond elrond+bugs.debian.org at samba-tng.org
Fri Oct 19 17:49:13 BST 2018


Package: nginx-common
Version: 1.14.0-1
Tags: patch

Hi,

fastcgi-php.conf has this line in it:
  fastcgi_split_path_info ^(.+\.php)(/.+)$;

This is to split "/main.php/subentry"
into "/main.php" and "/subentry".

But this does not work for "/main.php/"!

Patch:
Please replace (/.+) by (/.*).


Cheers

    Elrond



More information about the Pkg-nginx-maintainers mailing list