You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3460c24a16
Previously, the error page security filter passed the request's URI to the privilege evaluator. This was incorrect in applications with a custom context path as the privilege evaluator must be passed a path that does not include the context path and the request URI includes the context path. This commit updates the filter to use UrlPathHelper's pathWithinApplication instead. The path within the application does not include the context path. In addition, pathWithinAppliation also correctly handles applications configured with a servlet mapping other than the default of /. Closes gh-29299 Co-Authored-By: Andy Wilkinson <wilkinsona@vmware.com> |
3 years ago | |
---|---|---|
.. | ||
AbstractErrorPageTests.java | 3 years ago | |
AbstractUnauthenticatedErrorPageTests.java | 3 years ago | |
CustomContextPathErrorPageTests.java | 3 years ago | |
CustomContextPathUnauthenticatedErrorPageTests.java | 3 years ago | |
CustomServletPathErrorPageTests.java | 3 years ago | |
CustomServletPathUnauthenticatedErrorPageTests.java | 3 years ago | |
ErrorPageTests.java | 3 years ago | |
NoSessionErrorPageTests.java | 3 years ago | |
SampleWebSecureApplicationTests.java | 3 years ago | |
UnauthenticatedErrorPageTests.java | 3 years ago |