Only direct Link redirects use destination_url; catalog QR slugs proxy through the platform resolver instead of malformed summary URLs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -21,7 +21,7 @@ class LinkRedirectController extends Controller
|
||||
{
|
||||
if ($path === null || $path === '') {
|
||||
$link = $this->links->resolve($request, $slug);
|
||||
if ($link !== null) {
|
||||
if ($link !== null && $link->isDirectRedirect()) {
|
||||
return redirect()->away($link->destination_url, 302);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user