Skip to content

Commit

Permalink
Prevent invalid URL generation (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvindice authored and aimeos committed Nov 30, 2021
1 parent 5c01561 commit 0fd41ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/html/src/Client/Html/Basket/Standard/Standard.php
Expand Up @@ -401,7 +401,7 @@ public function data( \Aimeos\MW\View\Iface $view, array &$tags = [], string &$e
}

if( empty( $params ) === false ) {
$view->standardBackUrl = $view->url( $target, $controller, $action, $params, [], $config );
$view->standardBackUrl = $view->url( $target, $controller, $action, array_filter( $params ), [], $config );
}

$basket = \Aimeos\Controller\Frontend::create( $this->context(), 'basket' )->get();
Expand Down

0 comments on commit 0fd41ea

Please sign in to comment.