php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28202 PHP scripts work with additional info after slash in URL
Submitted: 2004-04-28 13:15 UTC Modified: 2004-04-28 15:37 UTC
From: indy at civ dot zcu dot cz Assigned:
Status: Not a bug Package: URL related
PHP Version: 4.3.4 OS: Linux (debian)
Private report: No CVE-ID: None
 [2004-04-28 13:15 UTC] indy at civ dot zcu dot cz
Description:
------------
Hello,

I have tried find in the bug-database any report of my trouble but the searching was not sccessfull.

If someone add any additional data after "/" character in URL of PHP script, (s)he get regular page instead of "Error 404". 

See for example http://www.php.net/index.php/any_additional_data

In such a case where images are given by relative path, then  images are not found. And this problem makes also trouble in our search engine, where it never ends (the URL is growing in length and still provide regular content of non-existing pages).

I don't know if it is a bug or feature, but can I somehow switch it off?  

Thanks, Indy


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-28 15:37 UTC] derick@php.net
It's a featuer, but you can turn it off in Apache by turning off AcceptPathInfo (but I'd rather fix your code instead).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 07 06:01:28 2024 UTC