Bug#657652: [php5-xdebug] makes PHP always give out HTTP status 200 OK on fatal errors

2012-01-30 Thread Martin Meredith

Please see

http://bugs.xdebug.org/view.php?id=587

This will be fixed with the release of 2.2




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#657652: [php5-xdebug] makes PHP always give out HTTP status 200 OK on fatal errors

2012-01-27 Thread Filipus Klutiero

Package: php5-xdebug
Version: 2.1.0-1
Severity: important
Forwarded: http://bugs.xdebug.org/view.php?id=587
Tags: upstream

Having xdebug enabled causes PHP to give incorrect status codes when a 
fatal error happens, for example when a function is undefined, as in the 
following test case:


?
  ini_set('display_errors',0);
  this_function_does_not_exist();
  echo ok;
?

PHP's response has a status code of 200 OK that than 500.
This is an upstream issue which is reportedly fixed for PHP 5.4.

--- System information. ---
Architecture: i386
Kernel: Linux 3.1.0-1-amd64

Debian Release: wheezy/sid
990 testing security.debian.org
990 testing ftp.ca.debian.org
500 unstable ftp.ca.debian.org
1 experimental ftp.ca.debian.org

--- Package information. ---
Depends (Version) | Installed
==-+-===
ucf | 3.0025+nmu2
libc6 (= 2.3) | 2.13-24
phpapi-20090626+lfs |


Package's Recommends field is empty.

Package's Suggests field is empty.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org