Browse Source

-fix logic (and BC break)

experimental/with_scalar_types
Pierre Joye 16 years ago
parent
commit
4cda8a7797
  1. 2
      ext/standard/http_fopen_wrapper.c

2
ext/standard/http_fopen_wrapper.c

@ -678,7 +678,7 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path,
}
if (!reqok || (location[0] != '\0' && follow_location)) {
if (!follow_location && (((options & STREAM_ONLY_GET_HEADERS) || ignore_errors) && redirect_max <= 1)) {
if (!follow_location || (((options & STREAM_ONLY_GET_HEADERS) || ignore_errors) && redirect_max <= 1)) {
goto out;
}

Loading…
Cancel
Save