summaryrefslogtreecommitdiffstats
path: root/auth_mellon_config.c
diff options
context:
space:
mode:
authorolavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53>2013-03-06 12:53:42 +0000
committerolavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53>2013-03-06 12:53:42 +0000
commitddee5646445cdf292aa88c57d6693257c48e2d64 (patch)
treeddcd93ebc5cf9177b82caa380fc31c0e39801cd4 /auth_mellon_config.c
parent81cf686843634f2e2ff70db6553ef712c531ced0 (diff)
downloadmod_auth_mellon-ddee5646445cdf292aa88c57d6693257c48e2d64.tar.gz
mod_auth_mellon-ddee5646445cdf292aa88c57d6693257c48e2d64.tar.xz
mod_auth_mellon-ddee5646445cdf292aa88c57d6693257c48e2d64.zip
Disable automatic creation of MellonPostDirectory.
Now that the POST replay functionality has been disabled by default, we can force the administrator to create this directory manually. This saves us from worrying about temp file/directory vulnerabilities. git-svn-id: https://modmellon.googlecode.com/svn/trunk@178 a716ebb1-153a-0410-b759-cfb97c6a1b53
Diffstat (limited to 'auth_mellon_config.c')
-rw-r--r--auth_mellon_config.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/auth_mellon_config.c b/auth_mellon_config.c
index 6a1eb2d..4a938b5 100644
--- a/auth_mellon_config.c
+++ b/auth_mellon_config.c
@@ -57,11 +57,6 @@ static const int default_dump_saml_response = 0;
*/
static const char *default_login_path = "/";
-/* This is the directory for storing saved POST sessions
- * the MellonPostDirectory configuration directive if you change this.
- */
-static const char *post_dir = "/var/tmp/mellonpost";
-
/* saved POST session time to live
* the MellonPostTTL configuration directive if you change this.
*/
@@ -1489,7 +1484,7 @@ void *auth_mellon_server_config(apr_pool_t *p, server_rec *s)
mod->cache_size = 100; /* ought to be enough for everybody */
mod->lock_file = "/var/run/mod_auth_mellon.lock";
- mod->post_dir = post_dir;
+ mod->post_dir = NULL;
mod->post_ttl = post_ttl;
mod->post_count = post_count;
mod->post_size = post_size;