Fixed the way ShortUrlIdentifier is created from requests, on different request scopes

This commit is contained in:
Alejandro Celaya
2020-02-01 12:54:10 +01:00
parent 327d35fe57
commit fd82de31c0
4 changed files with 13 additions and 5 deletions

View File

@@ -39,7 +39,7 @@ class QrCodeAction implements MiddlewareInterface
public function process(Request $request, RequestHandlerInterface $handler): Response
{
$identifier = ShortUrlIdentifier::fromRequest($request);
$identifier = ShortUrlIdentifier::fromRedirectRequest($request);
try {
$this->urlResolver->resolveEnabledShortUrl($identifier);