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:
779760f
)
HttpFunctions: Fix bug where sslVerifyHost was only added to the CURL options when...
author
Andrew Garrett
<werdna@users.mediawiki.org>
Sun, 25 Apr 2010 22:53:19 +0000
(22:53 +0000)
committer
Andrew Garrett
<werdna@users.mediawiki.org>
Sun, 25 Apr 2010 22:53:19 +0000
(22:53 +0000)
includes/HttpFunctions.php
patch
|
blob
|
history
diff --git
a/includes/HttpFunctions.php
b/includes/HttpFunctions.php
index
5bf7050
..
134e244
100644
(file)
--- a/
includes/HttpFunctions.php
+++ b/
includes/HttpFunctions.php
@@
-735,7
+735,7
@@
class CurlHttpRequest extends HttpRequest {
}
$this->curlOptions[CURLOPT_USERAGENT] = $this->reqHeaders['User-Agent'];
}
$this->curlOptions[CURLOPT_USERAGENT] = $this->reqHeaders['User-Agent'];
- if (
$this->sslVerifyHost
) {
+ if (
isset( $this->sslVerifyHost )
) {
$this->curlOptions[CURLOPT_SSL_VERIFYHOST] = $this->sslVerifyHost;
}
$this->curlOptions[CURLOPT_SSL_VERIFYHOST] = $this->sslVerifyHost;
}