1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00
This commit is contained in:
Stefan Esser
2004-11-20 20:16:27 +00:00
parent 7ec21cca55
commit 4e5296741d

View File

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