]> granicus.if.org Git - php/commit
Fix compat with libcurl 7.56.1+ and file:// wrapper
authorAnatol Belski <ab@php.net>
Sun, 3 Dec 2017 11:23:25 +0000 (12:23 +0100)
committerAnatol Belski <ab@php.net>
Sun, 3 Dec 2017 11:23:25 +0000 (12:23 +0100)
commitaaf00ae0a99b84f1fb9a053fa08aef2abdab9f2b
tree26ca671fd7d99f18406e29fb0861a76280fadcdf
parentcbe60003f12b2b0ef43a96405c0c47a180cd2619
Fix compat with libcurl 7.56.1+ and file:// wrapper

Since 7.52.x libcurl file:// scheme was implemented in a way described
in https://tools.ietf.org/html/draft-ietf-appsawg-file-scheme-16 . The
draft is still not accepted and the change contained a BC breach with
win32 path handling. It was reported upstream and 7.52.x fixed it, but
the BC breaching behavior was reintroduced in 7.56.1. Thus, it is better
to handle this on the PHP side.
ext/curl/interface.c