|
@@ -86,7 +86,7 @@ discard block |
|
|
block discarded – undo |
|
86
|
86
|
/** @var RequestHandler $activeRequestHandler */ |
|
87
|
87
|
$activeRequestHandler = $this->bootstrap->getActiveRequestHandler(); |
|
88
|
88
|
$parentHttpRequest = $activeRequestHandler->getHttpRequest(); |
|
89
|
|
- $uri = rtrim($parentHttpRequest->getBaseUri(), '/') . '/' . $path; |
|
|
89
|
+ $uri = rtrim($parentHttpRequest->getBaseUri(), '/').'/'.$path; |
|
90
|
90
|
$httpRequest = Request::create(new Uri($uri)); |
|
91
|
91
|
$routeContext = new RouteContext($httpRequest, RouteParameters::createEmpty()); |
|
92
|
92
|
$matchingRoute = $this->router->route($routeContext); |
|
@@ -102,7 +102,7 @@ discard block |
|
|
block discarded – undo |
|
102
|
102
|
} |
|
103
|
103
|
$response = new Response($activeRequestHandler->getHttpResponse()); |
|
104
|
104
|
|
|
105
|
|
- $this->securityContext->withoutAuthorizationChecks(function () use ($request, $response) { |
|
|
105
|
+ $this->securityContext->withoutAuthorizationChecks(function() use ($request, $response) { |
|
106
|
106
|
$this->dispatcher->dispatch($request, $response); |
|
107
|
107
|
}); |
|
108
|
108
|
|
|
@@ -157,7 +157,7 @@ discard block |
|
|
block discarded – undo |
|
157
|
157
|
} |
|
158
|
158
|
} |
|
159
|
159
|
|
|
160
|
|
- $path = $matches['firstUriPart'] . '/' . $path; |
|
|
160
|
+ $path = $matches['firstUriPart'].'/'.$path; |
|
161
|
161
|
} |
|
162
|
162
|
|
|
163
|
163
|
/** |
|
@@ -170,6 +170,6 @@ discard block |
|
|
block discarded – undo |
|
170
|
170
|
foreach ($dimensionPresets as $dimensionName => $dimensionPreset) { |
|
171
|
171
|
$defaultDimensionPresetUriSegments[] = $dimensionPreset['presets'][$dimensionPreset['defaultPreset']]['uriSegment']; |
|
172
|
172
|
} |
|
173
|
|
- $path = implode('_', $defaultDimensionPresetUriSegments) . '/' . $path; |
|
|
173
|
+ $path = implode('_', $defaultDimensionPresetUriSegments).'/'.$path; |
|
174
|
174
|
} |
|
175
|
175
|
} |