Source path has to start with a slash.

Created on 3 February 2023, almost 2 years ago
Updated 26 October 2023, about 1 year ago

Similar to πŸ› "Source path has to start with a slash" exception when hitting path prefixed with index.php with RequestPath condition Needs work if you use the URL index.phpANYTHING, we get a PHP 500 caused by AliasManager::getAliasByPath() line 185.

    if ($path[0] !== '/') {
      throw new \InvalidArgumentException(sprintf('Source path %s has to start with a slash.', $path));
    }

We should add a similar check to xxx as πŸ› "Source path has to start with a slash" exception when hitting path prefixed with index.php with RequestPath condition Needs work does.

πŸ› Bug report
Status

Closed: won't fix

Version

1.4

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States douggreen Winchester, VA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024