dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a35dd8c
)
CurlHttpRequest: remove open_basedir check
author
Kevin Israel
<pleasestand@live.com>
Fri, 8 Jun 2018 17:46:10 +0000
(13:46 -0400)
committer
Kevin Israel
<pleasestand@live.com>
Fri, 8 Jun 2018 17:46:10 +0000
(13:46 -0400)
This only applied to PHP 5.5 and older, which we no longer support,
and was apparently overlooked in I740f32ac.
Change-Id: I1d56ac0ef7ac2cc14da16e1397e9614564c7ee23
includes/http/CurlHttpRequest.php
patch
|
blob
|
history
diff --git
a/includes/http/CurlHttpRequest.php
b/includes/http/CurlHttpRequest.php
index
a8fbed0
..
f457b21
100644
(file)
--- a/
includes/http/CurlHttpRequest.php
+++ b/
includes/http/CurlHttpRequest.php
@@
-149,13
+149,6
@@
class CurlHttpRequest extends MWHttpRequest {
return false;
}
- if ( version_compare( PHP_VERSION, '5.6.0', '<' ) ) {
- if ( strval( ini_get( 'open_basedir' ) ) !== '' ) {
- $this->logger->debug( "Cannot follow redirects when open_basedir is set\n" );
- return false;
- }
- }
-
return true;
}
}