From ae66d711e13d0caa1548529542444597bf520c40 Mon Sep 17 00:00:00 2001 From: ozh Date: Sat, 22 Apr 2017 18:32:54 +0200 Subject: [PATCH] Update jakeasmith/http_build_url --- includes/http_build_url/http_build_url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/http_build_url/http_build_url.php b/includes/http_build_url/http_build_url.php index b8207f7..0dfdbba 100644 --- a/includes/http_build_url/http_build_url.php +++ b/includes/http_build_url/http_build_url.php @@ -137,7 +137,7 @@ if (!function_exists('http_build_url')) { $parsed_string .= $url['scheme'] . '://'; } - if (isset($url['user'])) { + if (!empty($url['user'])) { $parsed_string .= $url['user']; if (isset($url['pass'])) { -- 2.42.0