mirror of
https://github.com/YGGverse/titan-II.git
synced 2025-02-04 11:04:21 +00:00
Small bug
This commit is contained in:
parent
ae21067bab
commit
f8015cadda
@ -23,7 +23,7 @@ class Request {
|
|||||||
*/
|
*/
|
||||||
public function __construct(string $url)
|
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