projects
/
shibboleth
/
cpp-sp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
869285e
)
Turn redirect expiration on by default.
2.4.3
author
Scott Cantor
<cantor.2@osu.edu>
Wed, 6 Jul 2011 17:32:43 +0000
(17:32 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Wed, 6 Jul 2011 17:32:43 +0000
(17:32 +0000)
apache/mod_apache.cpp
patch
|
blob
|
history
diff --git
a/apache/mod_apache.cpp
b/apache/mod_apache.cpp
index
57ae0aa
..
8f04472
100644
(file)
--- a/
apache/mod_apache.cpp
+++ b/
apache/mod_apache.cpp
@@
-590,7
+590,7
@@
public:
long sendRedirect(const char* url) {
HTTPResponse::sendRedirect(url);
ap_table_set(m_req->headers_out, "Location", url);
- if (m_dc->bExpireRedirects
== 1
) {
+ if (m_dc->bExpireRedirects
!= 0
) {
ap_table_set(m_req->err_headers_out, "Expires", "Wed, 01 Jan 1997 12:00:00 GMT");
ap_table_set(m_req->err_headers_out, "Cache-Control", "private,no-store,no-cache,max-age=0");
}