Bug #52162 [NEW]: custom request header variables with numbers are removed
| From: | srinatar@php.net | Date: | Wed, 23 Jun 2010 17:02:30 +0000 |
| Subject: | Bug #52162 [NEW]: custom request header variables with numbers are removed | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-151809@lists.php.net to get a copy of this message | ||
From:
Operating system: Linux
PHP version: 5.3.2
Package: iPlanet related
Bug Type: Bug
Bug description:custom request header variables with numbers are removed
Description:
------------
for example, if u try to request print-header.php (which contains the
following)
<?
print "\nContents of \$_SERVER:\n";
foreach ($_SERVER as $k => $v) {
print " $k = $v\n";
}
print "</pre>\n";
?>
by doing some thing like
$ telnet localhost 80
Trying 192.168.20.126...
Connected to s10u7x.
Escape character is '^]'.
GET /print-header.php HTTP/1.0
X-T3crawler: foobar
u get output as
HTTP_X_T_CRAWLER = foobar -> unexpected result
what do u expect is
HTTP_X_T3_CRAWLER = foobar -> expected result
Expected result:
----------------
HTTP_X_T3_CRAWLER = foobar -> expected result
Actual result:
--------------
u get output as
HTTP_X_T_CRAWLER = foobar -> unexpected result
--
Edit bug report at http://bugs.php.net/bug.php?id=52162&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52162&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52162&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52162&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=52162&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52162&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=52162&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=52162&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=52162&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=52162&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=52162&r=support
Expected behavior: http://bugs.php.net/fix.php?id=52162&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=52162&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=52162&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=52162&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52162&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52162&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=52162&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=52162&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=52162&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=52162&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=52162&r=mysqlcfg