mirror of
https://github.com/php/php-src.git
synced 2025-01-25 05:04:20 +08:00
- Merge missing commit by Ilia from PHP_5_3: Make filters without a resource throw E_RECOVERABLE_ERROR rather then E_ERROR
This commit is contained in:
parent
f6dcba571e
commit
fd9a1fa1b3
@ -269,7 +269,7 @@ php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, ch
|
||||
pathdup = estrndup(path + 6, strlen(path + 6));
|
||||
p = strstr(pathdup, "/resource=");
|
||||
if (!p) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_ERROR, "No URL resource specified");
|
||||
php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "No URL resource specified");
|
||||
efree(pathdup);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user