Closed orange-buffalo closed 5 months ago
@orange-buffalo I am sorry this issue was not responded to. I came across it doing some cleanup in our issue tracker.
It does not appear anyone else was impacted by this issue as there have been no comments or upvotes for the time it has been open. My understanding is that IE11 is no longer supported, so I am going to close this issue as no longer valid. If you still have this issue, let me know and I'd be happy to help you with a workaround.
Describe the bug User is not redirected to initially requested page in IE11.
To Reproduce
localhost
to reproduce this issue (IE sendsAccept
header inconsistently, see below for details). ER = AR: User is redirected to the authentication page (form login in this reproducer, OIDC IDP in our production scenario).user / password
in the reproducer) and execute the login.ER: User is redirected to the initially requested page, i.e. http://mapped-host:8080/test AR: User is redirected to the root page: http://mapped-host:8080
Sample https://github.com/orange-buffalo/spring-security-saved-request-ie11-reproducer
Assessment During the initial user request as described above, the following log output is observed:
While for the initial request from a modern browser (or IE when IP address is used instead of a mapped host) the output is:
It looks like
MediaTypeServerWebExchangeMatcher
created byWebSessionServerRequestCache
does not take into account specific IEAccept
header implementation:image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, */*
, and initial request is never saved.