From 23004aa6e52df671c92a1231a7a8ff35ca99156d Mon Sep 17 00:00:00 2001 From: ArthurH Date: Mon, 30 Mar 2015 11:58:20 +0200 Subject: [PATCH] Update AbstractConnector.php Fix issue in parsed url (remove `/` from path) --- src/orange/cfhelper/connectors/AbstractConnector.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/orange/cfhelper/connectors/AbstractConnector.php b/src/orange/cfhelper/connectors/AbstractConnector.php index 0bcbef2..afde64c 100644 --- a/src/orange/cfhelper/connectors/AbstractConnector.php +++ b/src/orange/cfhelper/connectors/AbstractConnector.php @@ -76,7 +76,7 @@ protected function parseUrl($url) $toReturn['port'] = $parsedUrl['port']; $toReturn['user'] = $parsedUrl['user']; $toReturn['pass'] = $parsedUrl['pass']; - $toReturn['path'] = $parsedUrl['path']; + $toReturn['path'] = str_replace('/', '', $parsedUrl['path']); return $toReturn; } @@ -91,4 +91,4 @@ public function getCredentials() } -} \ No newline at end of file +}