diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-05-04 09:46:27 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-05-04 09:46:27 +0200 |
commit | be4c9a9598350fb4333480f0c7b302acebcddfd4 (patch) | |
tree | fb0c2606ad4ca0bc1a710d6fdf82f55c326b3427 /vendor/sabre/http/lib | |
parent | f15c12376adad6534c8c0ea547a7548697eb8379 (diff) | |
parent | be852ba857f4cb8e75574a762945b50c8bddcff9 (diff) | |
download | volse-hubzilla-3.4.tar.gz volse-hubzilla-3.4.tar.bz2 volse-hubzilla-3.4.zip |
Merge branch '3.4RC'3.4
Diffstat (limited to 'vendor/sabre/http/lib')
-rw-r--r-- | vendor/sabre/http/lib/Auth/Basic.php | 2 | ||||
-rw-r--r-- | vendor/sabre/http/lib/Sapi.php | 6 | ||||
-rw-r--r-- | vendor/sabre/http/lib/Version.php | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/vendor/sabre/http/lib/Auth/Basic.php b/vendor/sabre/http/lib/Auth/Basic.php index 60633b957..c263e3f9b 100644 --- a/vendor/sabre/http/lib/Auth/Basic.php +++ b/vendor/sabre/http/lib/Auth/Basic.php @@ -55,7 +55,7 @@ class Basic extends AbstractAuth { */ function requireLogin() { - $this->response->addHeader('WWW-Authenticate', 'Basic realm="' . $this->realm . '"'); + $this->response->addHeader('WWW-Authenticate', 'Basic realm="' . $this->realm . '", charset="UTF-8"'); $this->response->setStatus(401); } diff --git a/vendor/sabre/http/lib/Sapi.php b/vendor/sabre/http/lib/Sapi.php index 6fc6452e4..054380e73 100644 --- a/vendor/sabre/http/lib/Sapi.php +++ b/vendor/sabre/http/lib/Sapi.php @@ -77,12 +77,12 @@ class Sapi { if (is_resource($body) && get_resource_type($body) == 'stream') { if (PHP_INT_SIZE !== 4){ // use the dedicated function on 64 Bit systems - stream_copy_to_stream($body, $output, $contentLength); + stream_copy_to_stream($body, $output, $contentLength); } else { // workaround for 32 Bit systems to avoid stream_copy_to_stream while (!feof($body)) { - fwrite($output, fread($body, 8192)); - } + fwrite($output, fread($body, 8192)); + } } } else { fwrite($output, $body, $contentLength); diff --git a/vendor/sabre/http/lib/Version.php b/vendor/sabre/http/lib/Version.php index aeb080e93..c40532ae8 100644 --- a/vendor/sabre/http/lib/Version.php +++ b/vendor/sabre/http/lib/Version.php @@ -14,6 +14,6 @@ class Version { /** * Full version number */ - const VERSION = '4.2.3'; + const VERSION = '4.2.4'; } |