|
@@ -84,7 +84,7 @@ discard block |
|
|
block discarded – undo |
|
84
|
84
|
/** @var RequestHandler $activeRequestHandler */ |
|
85
|
85
|
$activeRequestHandler = $this->bootstrap->getActiveRequestHandler(); |
|
86
|
86
|
$parentHttpRequest = $activeRequestHandler->getHttpRequest(); |
|
87
|
|
- $uri = rtrim($parentHttpRequest->getBaseUri(), '/') . '/' . $path; |
|
|
87
|
+ $uri = rtrim($parentHttpRequest->getBaseUri(), '/').'/'.$path; |
|
88
|
88
|
$httpRequest = Request::create(new Uri($uri)); |
|
89
|
89
|
$matchingRoute = $this->router->route($httpRequest); |
|
90
|
90
|
if (!$matchingRoute) { |
|
@@ -99,7 +99,7 @@ discard block |
|
|
block discarded – undo |
|
99
|
99
|
} |
|
100
|
100
|
$response = new Response($activeRequestHandler->getHttpResponse()); |
|
101
|
101
|
|
|
102
|
|
- $this->securityContext->withoutAuthorizationChecks(function () use ($request, $response) { |
|
|
102
|
+ $this->securityContext->withoutAuthorizationChecks(function() use ($request, $response) { |
|
103
|
103
|
$this->dispatcher->dispatch($request, $response); |
|
104
|
104
|
}); |
|
105
|
105
|
|
|
@@ -152,6 +152,6 @@ discard block |
|
|
block discarded – undo |
|
152
|
152
|
} |
|
153
|
153
|
} |
|
154
|
154
|
|
|
155
|
|
- $path = $matches['firstUriPart'] . '/' . $path; |
|
|
155
|
+ $path = $matches['firstUriPart'].'/'.$path; |
|
156
|
156
|
} |
|
157
|
157
|
} |
Please login to merge, or discard this patch.