Debian Bug report logs - #660581
access log format string for php5-fpm collapses whitespace with unescaped quotes

version graph

Package: php5-fpm; Maintainer for php5-fpm is (unknown);

Reported by: Michael Bravo <mike.bravo@gmail.com>

Date: Mon, 20 Feb 2012 01:33:01 UTC

Severity: normal

Tags: fixed-upstream

Found in version php5/5.3.10-1

Fixed in version 5.4.0-1

Done: Ondřej Surý <ondrej@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://bugs.php.net/bug.php?id=61149

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#660581; Package php5-fpm. (Mon, 20 Feb 2012 01:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Bravo <mike.bravo@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Mon, 20 Feb 2012 01:33:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Michael Bravo <mike.bravo@gmail.com>
To: submit@bugs.debian.org
Subject: access log format string for php5-fpm collapses whitespace with unescaped quotes
Date: Mon, 20 Feb 2012 05:30:45 +0400
Package: php5-fpm
Version: 5.3.10-1

Suggested access log format string in

/etc/php5/fpm/pool.d/www.conf

line 292

if uncommented, handles whitespace incorrectly, because of unescaped
quotes in the middle of format string

at the moment, that line reads as:

;access.format = %R - %u %t "%m %r%Q%q" %s %f %{mili}d %{kilo}M %C%%

while to function as expected it should be changed thus:

;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%"




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#660581; Package php5-fpm. (Mon, 20 Feb 2012 20:06:03 GMT) (full text, mbox, link).


Acknowledgement sent to Lior Kaplan <kaplan@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Mon, 20 Feb 2012 20:06:03 GMT) (full text, mbox, link).


Message #10 received at 660581@bugs.debian.org (full text, mbox, reply):

From: Lior Kaplan <kaplan@debian.org>
To: control@bugs.debian.org
Cc: Michael Bravo <mike.bravo@gmail.com>, 660581@bugs.debian.org
Subject: Re: [php-maint] Bug#660581: access log format string for php5-fpm collapses whitespace with unescaped quotes
Date: Mon, 20 Feb 2012 22:03:49 +0200
[Message part 1 (text/plain, inline)]
forwarded 660581 https://bugs.php.net/bug.php?id=61149
notfound 660581 5.4.0~rc8-1
thanks

On Mon, Feb 20, 2012 at 3:30 AM, Michael Bravo <mike.bravo@gmail.com> wrote:

>
> ;access.format = %R - %u %t "%m %r%Q%q" %s %f %{mili}d %{kilo}M %C%%
>
> while to function as expected it should be changed thus:
>
> ;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%"
>

I've no idea why, but although upstream did the change for both 5.3 and 5.4
in one commit, the string is quoted in 5.4 and unquoted in 5.3.

I've reported this at https://bugs.php.net/bug.php?id=61149

Kaplan
[Message part 2 (text/html, inline)]

Set Bug forwarded-to-address to 'https://bugs.php.net/bug.php?id=61149'. Request was from Lior Kaplan <kaplan@debian.org> to control@bugs.debian.org. (Mon, 20 Feb 2012 20:06:05 GMT) (full text, mbox, link).


Added tag(s) fixed-upstream. Request was from Lior Kaplan <kaplanlior@gmail.com> to control@bugs.debian.org. (Mon, 20 Feb 2012 20:54:03 GMT) (full text, mbox, link).


Reply sent to Ondřej Surý <ondrej@debian.org>:
You have taken responsibility. (Thu, 23 Aug 2012 10:03:05 GMT) (full text, mbox, link).


Notification sent to Michael Bravo <mike.bravo@gmail.com>:
Bug acknowledged by developer. (Thu, 23 Aug 2012 10:03:05 GMT) (full text, mbox, link).


Message #19 received at 660581-done@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@debian.org>
To: Michael Bravo <mike.bravo@gmail.com>, 660581-done@bugs.debian.org
Subject: Re: [php-maint] Bug#660581: access log format string for php5-fpm collapses whitespace with unescaped quotes
Date: Thu, 23 Aug 2012 12:00:38 +0200
Version: 5.4.0-1

It was fixed in 5.3.11, but that version never got into Debian, so
marked as fixed in 5.4.x...

O.

On Mon, Feb 20, 2012 at 2:30 AM, Michael Bravo <mike.bravo@gmail.com> wrote:
> Package: php5-fpm
> Version: 5.3.10-1
>
> Suggested access log format string in
>
> /etc/php5/fpm/pool.d/www.conf
>
> line 292
>
> if uncommented, handles whitespace incorrectly, because of unescaped
> quotes in the middle of format string
>
> at the moment, that line reads as:
>
> ;access.format = %R - %u %t "%m %r%Q%q" %s %f %{mili}d %{kilo}M %C%%
>
> while to function as expected it should be changed thus:
>
> ;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%"
>
>
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



-- 
Ondřej Surý <ondrej@sury.org>



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 21 Sep 2012 07:40:18 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 00:31:12 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.