Skip to content

Commit 23004aa

Browse files
committed
Update AbstractConnector.php
Fix issue in parsed url (remove `/` from path)
1 parent c881baf commit 23004aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/orange/cfhelper/connectors/AbstractConnector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ protected function parseUrl($url)
7676
$toReturn['port'] = $parsedUrl['port'];
7777
$toReturn['user'] = $parsedUrl['user'];
7878
$toReturn['pass'] = $parsedUrl['pass'];
79-
$toReturn['path'] = $parsedUrl['path'];
79+
$toReturn['path'] = str_replace('/', '', $parsedUrl['path']);
8080
return $toReturn;
8181
}
8282

@@ -91,4 +91,4 @@ public function getCredentials()
9191
}
9292

9393

94-
}
94+
}

0 commit comments

Comments
 (0)