summaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2016-01-04 21:43:54 +0100
committerStef Walter <stefw@redhat.com>2016-01-04 21:43:54 +0100
commit3f21258016bb587ba07181b6f6f8b2daa9c6251c (patch)
treed51576291585a97edb52bdfefd4178e65e26d4e7 /module
parent8cc47e7753e583839ab52127aa9c9c7d23cfae04 (diff)
module: Fix compatibility issues with newer apache versions
Diffstat (limited to 'module')
-rw-r--r--module/mod_auth_singleid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/mod_auth_singleid.c b/module/mod_auth_singleid.c
index bff48fb..a16961c 100644
--- a/module/mod_auth_singleid.c
+++ b/module/mod_auth_singleid.c
@@ -45,7 +45,7 @@
#include <http_log.h>
#include <http_protocol.h>
#include <http_request.h>
-#include <mpm.h>
+#include <ap_mpm.h>
#include <mod_ssl.h>
#include <apr_base64.h>
@@ -645,7 +645,7 @@ session_parse_info (sid_context_t *ctx, request_rec *r, char *data)
char **here;
long expiry;
- if (ap_unescape_url_keep2f (data) != 0) {
+ if (ap_unescape_url_keep2f (data, 1) != 0) {
ap_log_rerror (APLOG_MARK, APLOG_WARNING, 0, r,
"auth-singleid: invalidly encoded cookie: %s", data);
return NULL;