|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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: Fri Dec 02 20:03:58 2022 UTC