Small bug

This commit is contained in:
Tanner Mckenney 2021-02-09 20:47:40 -08:00
parent ae21067bab
commit f8015cadda

View File

@ -23,7 +23,7 @@ class Request {
*/
public function __construct(string $url)
{
$this->url = substr($url, 0, self::MAX_LENGTH);
$this->url = trim(substr($url, 0, self::MAX_LENGTH));
}
/**