mirror of
https://github.com/YGGverse/titan-II.git
synced 2025-01-25 22:34:23 +00:00
Small bug
This commit is contained in:
parent
ae21067bab
commit
f8015cadda
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user