aboutsummaryrefslogtreecommitdiffstats
path: root/include/network.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-09-16 19:05:12 -0700
committerzotlabs <mike@macgirvin.com>2018-09-16 19:05:12 -0700
commit27617efbfbeb2c7a608093a5dfd58679a8393de0 (patch)
treeb99dc3609e2caedc1598659436e26da63420d95a /include/network.php
parent6ab12597f508294d37fddeca789033c1729600d8 (diff)
parent07cd1d1272bd301c2f41f5579697754ccbbf5ae3 (diff)
downloadvolse-hubzilla-27617efbfbeb2c7a608093a5dfd58679a8393de0.tar.gz
volse-hubzilla-27617efbfbeb2c7a608093a5dfd58679a8393de0.tar.bz2
volse-hubzilla-27617efbfbeb2c7a608093a5dfd58679a8393de0.zip
Merge branch 'dev'
Diffstat (limited to 'include/network.php')
-rw-r--r--include/network.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/network.php b/include/network.php
index d4f4f27c6..5ae02deff 100644
--- a/include/network.php
+++ b/include/network.php
@@ -157,7 +157,7 @@ function z_fetch_url($url, $binary = false, $redirects = 0, $opts = array()) {
if($http_code == 301 || $http_code == 302 || $http_code == 303 || $http_code == 307 || $http_code == 308) {
$matches = array();
- preg_match('/(Location:|URI:)(.*?)\n/', $header, $matches);
+ preg_match('/(Location:|URI:)(.*?)\n/i', $header, $matches);
$newurl = trim(array_pop($matches));
if(strpos($newurl,'/') === 0)
$newurl = $url . $newurl;