Skip to content

Support external redirects to non-web URLs#1841

Open
liujed wants to merge 1 commit intospring-projects:mainfrom
liujed:support-non-web-redirects
Open

Support external redirects to non-web URLs#1841
liujed wants to merge 1 commit intospring-projects:mainfrom
liujed:support-non-web-redirects

Conversation

@liujed
Copy link

@liujed liujed commented Feb 6, 2026

Fixed external redirects to URLs with non-http/s schemes so that they are properly treated as external URLs instead of servlet-relative paths.

Also fixed a copy/paste bug in the test case for external http redirects.

Fixes #1840.

Fixed external redirects to URLs with non-http/s schemes so that they
are properly treated as external URLs instead of servlet-relative paths.

Also fixed a copy/paste bug in the test case for external http redirects.

Signed-off-by: Jed Liu <liujed@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

External redirects: non-web URLs are treated as servlet-relative paths

1 participant