diff --git a/src/Favicon/Favicon.php b/src/Favicon/Favicon.php index 7939f5b..ff447e6 100644 --- a/src/Favicon/Favicon.php +++ b/src/Favicon/Favicon.php @@ -159,7 +159,7 @@ public function get($url = '', $type = FaviconDLType::HOTLINK_URL) ($favicon = $this->checkCache($original, self::$TYPE_CACHE_URL)) === false && ! $favicon = $this->getFavicon($original, false) ) { - $url = rtrim($this->endRedirect(self::baseUrl($this->url, false)), '/'); + $url = rtrim(self::baseUrl($this->endRedirect(self::baseUrl($this->url, false)), false), '/'); if ( ($favicon = $this->checkCache($url, self::$TYPE_CACHE_URL)) === false && ! $favicon = $this->getFavicon($url)