Skip to content
Snippets Groups Projects
Commit a1ef3518 authored by Nick Dickinson-Wilde's avatar Nick Dickinson-Wilde
Browse files

Issue #3010433 by NickDickinsonWilde: Node with alias of / causes edit link to...

Issue #3010433 by NickDickinsonWilde: Node with alias of / causes edit link to be example.com/edit causing a 404
parent ffd8d065
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ class PathProcessor implements InboundPathProcessorInterface, OutboundPathProces
}
$path = '/' . implode('/', $path_array);
$processed_path = $this->pathProcessor->processOutbound($path, $options, $request);
if ($processed_path !== $path) {
if ($processed_path && $processed_path !== $path) {
return $processed_path . '/' . implode('/', array_reverse($subpath));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment