|
|
8c02ed |
From d3973074a984f78af2267006625a11e672574dff Mon Sep 17 00:00:00 2001
|
|
|
8c02ed |
From: Hans Zandbelt <hzandbelt@pingidentity.com>
|
|
|
8c02ed |
Date: Thu, 19 Jan 2017 00:03:37 +0100
|
|
|
8c02ed |
Subject: [PATCH 1000/1002] don't echo query params on invalid requests to
|
|
|
8c02ed |
redirect URI; closes #212
|
|
|
8c02ed |
|
|
|
8c02ed |
thanks @LukasReschke; I'm sure there's some OWASP guideline that warns
|
|
|
8c02ed |
against this
|
|
|
8c02ed |
|
|
|
8c02ed |
(cherry picked from commit 612e309bfffd6f9b8ad7cdccda3019fc0865f3b4)
|
|
|
8c02ed |
---
|
|
|
8c02ed |
src/mod_auth_openidc.c | 4 ++--
|
|
|
8c02ed |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
8c02ed |
|
|
|
8c02ed |
diff --git a/src/mod_auth_openidc.c b/src/mod_auth_openidc.c
|
|
|
8c02ed |
index 2db6108..a494238 100644
|
|
|
8c02ed |
--- a/src/mod_auth_openidc.c
|
|
|
8c02ed |
+++ b/src/mod_auth_openidc.c
|
|
|
8c02ed |
@@ -2493,8 +2493,8 @@ int oidc_handle_redirect_uri_request(request_rec *r, oidc_cfg *c,
|
|
|
8c02ed |
/* something went wrong */
|
|
|
8c02ed |
return oidc_util_html_send_error(r, c->error_template, "Invalid Request",
|
|
|
8c02ed |
apr_psprintf(r->pool,
|
|
|
8c02ed |
- "The OpenID Connect callback URL received an invalid request: %s",
|
|
|
8c02ed |
- r->args), HTTP_INTERNAL_SERVER_ERROR);
|
|
|
8c02ed |
+ "The OpenID Connect callback URL received an invalid request"),
|
|
|
8c02ed |
+ HTTP_INTERNAL_SERVER_ERROR);
|
|
|
8c02ed |
}
|
|
|
8c02ed |
|
|
|
8c02ed |
/*
|
|
|
8c02ed |
--
|
|
|
8c02ed |
2.19.2
|
|
|
8c02ed |
|