- miiimooo Europe
The latest patch works for me to fix this annoying problem. I think it might even be enough to have aliases for this problem.
BUT, I had to disable the Enforce clean and canonical URLs in the redirect settings admin/config/search/redirect/settings
- π©πͺGermany ayrmax
The same issue exists for the check if a path is excluded in
\Drupal\tome_static\EventSubscriber\ExcludePathSubscriber
at:public function collectPaths(CollectPathsEvent $event) { $excluded_paths = self::getExcludedPaths(); $paths = $event->getPaths(TRUE); foreach ($paths as $path => $metadata) { if (in_array($path, $excluded_paths, TRUE) || (isset($metadata['original_path']) && in_array($metadata['original_path'], $excluded_paths, TRUE))) { unset($paths[$path]); } } $event->replacePaths($paths); }
Should maybe changed to:
public function collectPaths(CollectPathsEvent $event) { $excluded_paths = self::getExcludedPaths(); $paths = $event->getPaths(TRUE); foreach ($paths as $path => $metadata) { $check_path = strlen($path) > 1 ? rtrim($path, '/') : $path; if (in_array($check_path, $excluded_paths, TRUE) || (isset($metadata['original_path']) && in_array($metadata['original_path'], $excluded_paths, TRUE))) { unset($paths[$path]); } } $event->replacePaths($paths); }