Ask a Question related to PHP Development, Design and Development.
-
phpbugs at mike2k dot com #1
#25047 [NEW]: Trailing / does not work after PHP scripts in URL
From: phpbugs at mike2k dot com
Operating system: Redhat Linux 7.3
PHP version: 4.3.3RC3
PHP Bug Type: CGI related
Bug description: Trailing / does not work after PHP scripts in URL
Description:
------------
For example: [url]http://foo.bar.com/phpinfo.php/some/testing/path[/url]
Should report that path info in PATH_INFO and possibly REQUEST_URI among
other things. however since php 4.3.2 i believe it seems that this does
not seem to work - it always gives a "No input file specified" - but it
*used* to work just fine.
This is a CGI binary compiled with:
../configure --with-mysql=/usr/local/mysql --enable-track-vars
--enable-shmop --with-zlib-dir=/usr --enable-inline-optimization
--disable-rpath --disable-debug --disable-ipv6 --enable-cli
--enable-fastcgi --with-gd --with-png-dir=/usr --with-jpeg-dir=/usr
--without-pear --enable-xslt --with-xslt-sablot=/usr/local
--with-msession
I have tried to use --disable-path-info-check as well as
--enable-discard-path (some other people logged a variant of this
bug/change in "feature") but I do not believe it was ever clearly stated
if this is now supposed to function like this (i.e. removing parts of
functionality that I had hoped to use.)
Running Zeus 4.2r2, PHP Accelerator 1.3.3r2, PHP versions 4.3.3RC1 and
RC3, I believe I also compiled 4.3.2 and 4.2.3 and it changed after 4.2 (I
think.)
If this "bug" is closed, please include why it was closed - otherwise I
consider this a bug as functionality was lost and I see no reason why it
cannot be "fixed" or reimplemented, or why the command line options seem
to make it sound like you can turn this on.
--disable-path-info-check
"If this is disabled, paths such as /info.php/test?a=b will fail to
work."
The double negatives are confusing. It doesn't work with or without this
switch. It makes it sound like you CAN have it work by default and using
this switch will disable it...
Reproduce code:
---------------
see above.
Expected result:
----------------
see above.
Actual result:
--------------
see above.
--
Edit bug report at [url]http://bugs.php.net/?id=25047&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=25047&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=25047&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=25047&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=25047&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=25047&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=25047&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=25047&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=25047&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=25047&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=25047&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=25047&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=25047&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=25047&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=25047&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=25047&r=gnused[/url]
phpbugs at mike2k dot com Guest
-
#40419 [NEW]: Trailing Slash in CGI request don't work
From: samuele dot diella at gmail dot com Operating system: Slackware 10.2 PHP version: 5.2.1 PHP Bug Type: CGI related Bug... -
Scripts generated by CF5 Wizards Do Not Work
I used to generate a lot of scripts in CF5 using the Wizards, specifically, Data Entry and Drill-Down routines. For the past couple of years, the... -
How do scripts work?
Hi gang, I'm so confOOsed' :P I place a "Label" UI Component on a blank FLA, and give it an instance name in the properties window, but when I try... -
#25047 [Bgs->Opn]: Trailing / does not work after PHP scripts in URL
ID: 25047 User updated by: phpbugs at mike2k dot com Reported By: phpbugs at mike2k dot com -Status: Bogus +Status:... -
#25047 [Bgs]: Trailing / does not work after PHP scripts in URL
ID: 25047 Updated by: sniper@php.net Reported By: phpbugs at mike2k dot com Status: Bogus Bug Type: ...



Reply With Quote

