|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: indy at civ dot zcu dot cz
New email:
PHP Version: OS:


 [2004-04-28 13:15 UTC] indy at civ dot zcu dot cz

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

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-28 15:37 UTC]
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-2022 The PHP Group
All rights reserved.
Last updated: Tue Oct 04 04:05:53 2022 UTC