From 6513ad56d9725584209c10b49b358e2532196a9d Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 29 Jun 2021 18:10:42 +0200 Subject: [PATCH] Fixes bug with delete from an embedded list (#199) --- src/Controller/AdminExtensionControllerTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/AdminExtensionControllerTrait.php b/src/Controller/AdminExtensionControllerTrait.php index 4a8f093..36c78b4 100644 --- a/src/Controller/AdminExtensionControllerTrait.php +++ b/src/Controller/AdminExtensionControllerTrait.php @@ -37,7 +37,7 @@ function ($name) use ($hiddenFields) { $masterRequestUri = \sprintf('%s?%s', \strtok($baseMasterRequestUri, '?'), \http_build_query($queryParameters)); $requestParameters = $this->request->query->all(); - $requestParameters['referer'] = $masterRequestUri; + $requestParameters['referer'] = urlencode($masterRequestUri); $viewVars = [ 'paginator' => $paginator,