safe_mode adds extra spaces).
PHP 4 NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2004, Version 4.3.8
+- Fixed bug #28670 (WWW-Authentication header mangling with PCRE in safe_mode
+ adds extra spaces). (Ilia)
- Fixed bug #28649 (Proper glob() return value on Linux when there are no
matches). (Ilia)
- Fixed bug #28632 (Prevent open_basedir bypass via MySQL's LOAD DATA LOCAL).
char *ptr = colon_offset+1;
int ptr_len=0, result_len = 0;
+ /* skip white space */
+ while (isspace(*ptr)) {
+ ptr++;
+ }
+
myuid = php_getuid();
ptr_len = strlen(ptr);