diff options
author | Sriram Natarajan <srinatar@php.net> | 2010-06-23 19:06:33 +0000 |
---|---|---|
committer | Sriram Natarajan <srinatar@php.net> | 2010-06-23 19:06:33 +0000 |
commit | 2bb9bbb803f3c87f66d3d0e2e9dfa41a22340bf7 (patch) | |
tree | 79d7b0fa8fa4cdaba61291f7fcc56af2e68b79b0 /sapi/nsapi | |
parent | 08e1471c16ad810843d78d5a11143486da9ea0c7 (diff) | |
download | php-git-2bb9bbb803f3c87f66d3d0e2e9dfa41a22340bf7.tar.gz |
- Fixed bug #52162 (custom request header variables with numbers are removed)
Diffstat (limited to 'sapi/nsapi')
-rw-r--r-- | sapi/nsapi/nsapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/nsapi/nsapi.c b/sapi/nsapi/nsapi.c index 8d8363c01c..d7571c89dc 100644 --- a/sapi/nsapi/nsapi.c +++ b/sapi/nsapi/nsapi.c @@ -687,7 +687,7 @@ static void sapi_nsapi_register_server_variables(zval *track_vars_array TSRMLS_D if (value) { for(p = value + pos; *p; p++) { *p = toupper(*p); - if (*p < 'A' || *p > 'Z') { + if (!isalnum(*p)) { *p = '_'; } } |