diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | sapi/nsapi/nsapi.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -3,6 +3,8 @@ PHP NEWS ?? ??? 2010, PHP 5.3.3 RC2 - Implemented FR #51295 (SQLite3::busyTimeout not existing). (Mark) - Fixed the mail.log ini setting when no filename was given. (Johannes) +- Fixed bug #52162 (custom request header variables with numbers are removed). + (Sriram Natarajan) - Fixed bug #52115 (mysqli_result::fetch_all returns null, not an empty array). (Andrey) 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 = '_'; } } |