Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use site_url for route-based RedirectResponse
base_url does not actually add the base path if the given URL is absolute (i.e., starts with a slash) and does not add the indexPage. Both is necessary for the redirect response to work correctly in case of routes. site_url handles this correctly. Fixes codeigniter4#2119
- Loading branch information