summaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/mod_auth_singleid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/mod_auth_singleid.c b/module/mod_auth_singleid.c
index 4520009..bff48fb 100644
--- a/module/mod_auth_singleid.c
+++ b/module/mod_auth_singleid.c
@@ -963,7 +963,7 @@ sid_request_url (sid_request_t *req, int with_path)
host = req->rec->hostname ? req->rec->hostname : ap_get_server_name (req->rec);
scheme = is_ssl ? "https" : "http";
port = ap_get_server_port (req->rec);
- uri = with_path && req->rec->uri ? req->rec->uri : "";
+ uri = with_path && req->rec->uri ? ap_escape_uri (req->rec->pool, req->rec->uri) : "";
/* Default ports? */
if ((port == 80 && !is_ssl) || (port == 443 && is_ssl))