#41817 [Opn->Asn]: CGI Trailing slash is still not correct!

From: Date: Wed, 27 Jun 2007 08:28:01 +0000
Subject: #41817 [Opn->Asn]: CGI Trailing slash is still not correct!
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-114307@lists.php.net to get a copy of this message
ID: 41817 Updated by: tony2001@php.net Reported By: progcom at gmail dot com -Status: Open +Status: Assigned Bug Type: CGI related Operating System: FreeBSD PHP Version: 5CVS-2007-06-27 (CVS) -Assigned To: +Assigned To: dmitry Previous Comments: ------------------------------------------------------------------------ [2007-06-27 04:55:31] progcom at gmail dot com Description: ------------ This is same bug as #40419, so I tried CVS version, but problem is still occured. Request with trailing slash, PHP doen't set any PATH_INFO or PATH_TRANSLATED. Reproduce code: --------------- http://www.foo.com/bar.php/ Expected result: ---------------- $_SERVER['PATH_INFO'] = "/" $_SERVER['PATH_TRANSLATED'] = "/blahblah/bar.php/" Actual result: -------------- $_SERVER['PATH_INFO'] = NULL $_SERVER['PATH_TRANSLATED'] = NULL ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41817&edit=1

« previous php.bugs (#114307) next »