-
Notifications
You must be signed in to change notification settings - Fork 6k
http.requestCache().disable() not working #6102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
in: web
An issue in web modules (web, webmvc)
type: backport
An issue that is a backport of another issue to a maintenance branch
type: bug
A general bug
Milestone
Comments
Thanks for the report @beku8! You can work around this by explicitly setting the cache to be http
...
.requestCache()
.requestCache(new NullRequestCache()); |
jzheaux
added a commit
that referenced
this issue
Nov 20, 2018
jzheaux
added a commit
that referenced
this issue
Nov 20, 2018
jzheaux
added a commit
that referenced
this issue
Nov 20, 2018
jzheaux
added a commit
that referenced
this issue
Nov 20, 2018
jer051
pushed a commit
to jer051/spring-security
that referenced
this issue
Nov 21, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
in: web
An issue in web modules (web, webmvc)
type: backport
An issue that is a backport of another issue to a maintenance branch
type: bug
A general bug
Summary
http.requestCache().disable()
is not working in spring security 5.0.8Actual Behavior
http.requestCache().disable()
is not disabling cache. We can see that from the log:Expected Behavior
I expect this config to be disabling the request cache.
Configuration
I tried in a very simple spring boot app to confirm:
Version
5.0.8
Sample
https://github.com/beku8/basicauthdemo
The text was updated successfully, but these errors were encountered: