From f8015caddac86555283d2a904891a24c7119af1e Mon Sep 17 00:00:00 2001 From: Tanner Mckenney Date: Tue, 9 Feb 2021 20:47:40 -0800 Subject: [PATCH] Small bug --- src/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Request.php b/src/Request.php index 647aa9d..9985b30 100644 --- a/src/Request.php +++ b/src/Request.php @@ -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)); } /**