|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18330 Problems in determining PHP_SELF
Submitted: 2002-07-13 07:04 UTC Modified: 2002-07-13 07:08 UTC
From: dados at impazz dot it Assigned:
Status: Not a bug Package: URL related
PHP Version: 4.2.1 OS: Linux 2.4.2-2smp
Private report: No CVE-ID: None
 [2002-07-13 07:04 UTC] dados at impazz dot it
Getting a page with an UURL like: http://www.domain.tld//dir/index.php will result in a misdeterming of the variable PHP_SELF which becomes: '//dir/index.php', a misspelling of the url can result in a non working webpage; linking to a malformed PHP_SELF like this one make the browser understand: 'http://dir/index.php'


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-13 07:08 UTC]
This is not a bug. AFAIK PHP_SELF just contains the path & file info of an URL. That some browsers don't handle URL's like these correctly, is not our problem.
Not a bug in PHP.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 22 04:01:31 2024 UTC