From 1ab226156761cca77b042b9914cd573e57ab40cd Mon Sep 17 00:00:00 2001
From: Stefan Winter <restena-sw@users.noreply.github.com>
Date: Wed, 28 Feb 2018 10:04:24 +0100
Subject: [PATCH] space is required before auth data

forward-port of my recent fix in branch 1.15
---
 lib/SimpleSAML/Utils/HTTP.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/SimpleSAML/Utils/HTTP.php b/lib/SimpleSAML/Utils/HTTP.php
index ef9b4784a..c839f4efd 100644
--- a/lib/SimpleSAML/Utils/HTTP.php
+++ b/lib/SimpleSAML/Utils/HTTP.php
@@ -417,7 +417,7 @@ class HTTP
             }
             $proxy_auth = $config->getString('proxy.auth', false);
             if ($proxy_auth !== false) {
-                $context['http']['header'] = "Proxy-Authorization: Basic".base64_encode($proxy_auth);
+                $context['http']['header'] = "Proxy-Authorization: Basic ".base64_encode($proxy_auth);
             }
             if (!isset($context['http']['request_fulluri'])) {
                 $context['http']['request_fulluri'] = true;
-- 
GitLab