Skip to content

Commit

Permalink
Update AbstractConnector.php
Browse files Browse the repository at this point in the history
Fix issue in parsed url (remove `/` from path)
  • Loading branch information
ArthurHlt committed Mar 30, 2015
1 parent c881baf commit 23004aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/orange/cfhelper/connectors/AbstractConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -91,4 +91,4 @@ public function getCredentials()
}


}
}

0 comments on commit 23004aa

Please sign in to comment.