Skip to content

Commit

Permalink
Merge pull request neos#5224 from neos/configurableUriSuffix
Browse files Browse the repository at this point in the history
BUGFIX: Make URI suffix configurable for the ESFrontendNode RoutePart
  • Loading branch information
nezaniel authored Aug 28, 2024
2 parents 2dd36fd + f443a87 commit cfa3a92
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ public function matchWithParameters(&$requestPath, RouteParameters $parameters)
throw new ResolvedSiteNotFoundException(sprintf('No site found for siteNodeName "%s"', $siteDetectionResult->siteNodeName->value));
}

$remainingRequestPath = $this->truncateRequestPathAndReturnRemainder($requestPath, $resolvedSite->getConfiguration()->uriPathSuffix);
$uriPathSuffix = $this->options['uriPathSuffix'] ?? $resolvedSite->getConfiguration()->uriPathSuffix;
$remainingRequestPath = $this->truncateRequestPathAndReturnRemainder($requestPath, $uriPathSuffix);

$dimensionResolvingResult = $this->delegatingResolver->fromRequestToDimensionSpacePoint(
RequestToDimensionSpacePointContext::fromUriPathAndRouteParametersAndResolvedSite(
Expand Down

0 comments on commit cfa3a92

Please sign in to comment.