Skip to content

Commit

Permalink
Merge pull request #1513 from jim-parry/testing12b/http
Browse files Browse the repository at this point in the history
More secure redirection
  • Loading branch information
jim-parry authored Nov 19, 2018
2 parents 708f769 + 839c1e2 commit 82f8be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ function redirect(string $uri = null)

if (! empty($uri))
{
return $response->to($uri);
return $response->route($uri);
}

return $response;
Expand Down

0 comments on commit 82f8be4

Please sign in to comment.