Bug #18330: Problems in determining PHP_SELF
| From: | dados at impazz dot it | Date: | Sat, 13 Jul 2002 11:04:40 +0000 |
| Subject: | Bug #18330: Problems in determining PHP_SELF | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-14074@lists.php.net to get a copy of this message | ||
From: dados@impazz.it
Operating system: Linux 2.4.2-2smp
PHP version: 4.2.1
PHP Bug Type: URL related
Bug description: Problems in determining PHP_SELF
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'
--
Edit bug report at http://bugs.php.net/?id=18330&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18330&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18330&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18330&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18330&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18330&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18330&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18330&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18330&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18330&r=globals