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
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.
Password:
Status:
Package:
Bug Type:
Summary:
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
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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Mar 28 12:01:27 2024 UTC