CurlHttpRequest: Follow redirects even under open_basedir
authorKevin Israel <pleasestand@live.com>
Fri, 12 Sep 2014 10:40:00 +0000 (06:40 -0400)
committerKevin Israel <pleasestand@live.com>
Sat, 31 Jan 2015 09:56:23 +0000 (04:56 -0500)
commit45a6214c1ee2b34aa9c78d537f56618e16892b23
tree7a0b060cea376bfa68093aea9bba35c0addbf3ec
parentfd95d37add726238f87e48adcc15ff30596f9512
CurlHttpRequest: Follow redirects even under open_basedir

As of PHP 5.6.0, this is now allowed provided that libcurl is version
7.19.4 or newer (to not follow redirects to file:// URLs, which would
circumvent the open_basedir restriction).

https://bugs.php.net/bug.php?id=65646
https://github.com/php/php-src/commit/fba290c061027c24e4c8effdba37addd3430c3d4

Change-Id: I1233dca563a185d12923736d8d397a3acf87a71e
includes/HttpFunctions.php