trim remote fork url spaces away
authorChristian Weiske <cweiske@cweiske.de>
Fri, 28 Sep 2012 08:36:59 +0000 (10:36 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Fri, 28 Sep 2012 08:36:59 +0000 (10:36 +0200)
src/phorkie/ForkRemote.php

index d2b077be06b7762219141a3ecaadf0ffe90150bf..3f6a4787ce818f89d4b37a940ffc5abcd0ff126e 100644 (file)
@@ -17,7 +17,7 @@ class ForkRemote
 
     public function __construct($url)
     {
 
     public function __construct($url)
     {
-        $this->url = $url;
+        $this->url = trim($url);
     }
 
     public function parse()
     }
 
     public function parse()