fix $uri->getPath()
This commit is contained in:
@@ -42,7 +42,7 @@ class Request
|
||||
$idPromises = [
|
||||
'id_ip' => $storage::getId('ip', $realIp),
|
||||
'id_domain' => $storage::getId('domain', $uri->getHost()),
|
||||
'id_path' => $storage::getId('path', '/' . $request->getAttribute('original_uri', '')),
|
||||
'id_path' => $storage::getId('path', '/' . $uri->getPath()),
|
||||
'id_useragent' => $storage::getId('useragent', $userAgent),
|
||||
'id_headers' => 0,
|
||||
'id_method' => self::METHOD[$request->getMethod()] ?? 0,
|
||||
|
||||
Reference in New Issue
Block a user