Skip to content

Commit

Permalink
decode return_to url
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbeig committed Dec 4, 2024
1 parent 57565b3 commit 6f9c461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Goteo/Controller/InvestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private function validate(
$return_to = '';

if ($request->query->has('return_to')) {
$return_to = $request->query->get('return_to');
$return_to = rawurldecode($request->query->get('return_to'));

if (Domain::isAllowedDomain($return_to))
Session::store('return_to', $return_to);
Expand Down

0 comments on commit 6f9c461

Please sign in to comment.