php.net |  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
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dados at impazz dot it
New email:
PHP Version: OS:

 

 [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'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-13 07:08 UTC] sander@php.net
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: Wed Apr 24 02:01:30 2024 UTC