Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent open redirect by appending a trailing slash (#5532)
Motivation: The absence of a trailing slash on the `redirectUrl` host of BaseLayout exposes the system to Open Redirect vulnerabilities when the matched value of the regex is altered. Modifications: - Added logic to append a trailing slash to the `redirectUrl` host. Result: - Open redirect vulnerabilities are mitigated on armeria.dev site.
- Loading branch information