Browse Source

- Fixed bug #52162 (custom request header variables with numbers are removed)

pull/12/head
Sriram Natarajan 16 years ago
parent
commit
2bb9bbb803
  1. 2
      NEWS
  2. 2
      sapi/nsapi/nsapi.c

2
NEWS

@ -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)

2
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 = '_';
}
}

Loading…
Cancel
Save