Skip to content

Commit 54aec6b

Browse files
authored
decode at first to get utf8 format string
1 parent d87b3ad commit 54aec6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/RedirectController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class RedirectController extends LfmController
1616
public function __construct()
1717
{
1818
$delimiter = config('lfm.prefix') . '/';
19-
$url = request()->url();
19+
$url = urldecode(request()->url());
2020
// dd($delimiter);
2121
$external_path = substr($url, strpos($url, $delimiter) + strlen($delimiter));
2222

0 commit comments

Comments
 (0)