Skip to content

Commit

Permalink
undo query removal, the root cause was fixed in the site.conf rewrite…
Browse files Browse the repository at this point in the history
… rule
  • Loading branch information
ylebre committed Dec 23, 2020
1 parent c5245b2 commit d157715
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Controller/ResourceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ final public function __invoke(Request $request, array $args) : Response
} catch(\Exception $e) {
return $this->server->getResponse()->withStatus(409, "Invalid token");
}
$uri = $request->getUri();
$uri = $uri->withQuery("");
$request = $request->withUri($uri); // FIXME: Why are we getting a 'url' query argument in $request? -> https://server/storage?url=/storage/

if (!$this->WAC->isAllowed($request, $webId)) {
return $this->server->getResponse()->withStatus(403, "Access denied");
Expand Down

0 comments on commit d157715

Please sign in to comment.