mirror of
https://github.com/php/php-src.git
synced 2026-03-29 03:32:20 +02:00
MFH
This commit is contained in:
@@ -1095,6 +1095,13 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler)
|
||||
}
|
||||
#endif
|
||||
if (!is_anonymous) {
|
||||
if (PG(magic_quotes_gpc)) {
|
||||
s = s ? s : filename;
|
||||
tmp = strrchr(s, '\'');
|
||||
s = tmp > s ? tmp : s;
|
||||
tmp = strrchr(s, '"');
|
||||
s = tmp > s ? tmp : s;
|
||||
}
|
||||
if (s && s > filename) {
|
||||
safe_php_register_variable(lbuf, s+1, NULL, 0 TSRMLS_CC);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user