ASF Bugzilla – Attachment 21057 Details for
Bug 43687
after repeated authentication tomcat again sends page with login form instead of protected static resource
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Attempt to get around FireFox's aggressive caching
fa.diff (text/plain), 1.04 KB, created by
william.barker
on 2007-10-29 19:34:55 UTC
(
hide
)
Description:
Attempt to get around FireFox's aggressive caching
Filename:
MIME Type:
Creator:
william.barker
Created:
2007-10-29 19:34:55 UTC
Size:
1.04 KB
patch
obsolete
>Index: FormAuthenticator.java >=================================================================== >--- FormAuthenticator.java (revision 588480) >+++ FormAuthenticator.java (working copy) >@@ -313,6 +313,8 @@ > context.getServletContext().getRequestDispatcher > (config.getLoginPage()); > try { >+ // Disallow caching the login page as the actual page. BZ 43687 >+ response.addHeader("Cache-Control", "no-store"); > disp.forward(request.getRequest(), response.getResponse()); > response.finishResponse(); > } catch (Throwable t) { >@@ -334,6 +336,8 @@ > context.getServletContext().getRequestDispatcher > (config.getErrorPage()); > try { >+ // Disallow caching the error page as the actual page. BZ 43687 >+ response.addHeader("Cache-Control", "no-store"); > disp.forward(request.getRequest(), response.getResponse()); > } catch (Throwable t) { > log.warn("Unexpected error forwarding to error page", t);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 43687
:
21032
|
21046
|
21057
|
21063