From 84e0e4f48dce3479d68156c4d131a31357d2c905 Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Sat, 30 Aug 2008 13:48:47 +0000 Subject: [PATCH] mod_auth_form: Make sure that basic authentication is correctly faked directly after login. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@690506 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 3 +++ modules/aaa/mod_auth_form.c | 1 + 2 files changed, 4 insertions(+) diff --git a/CHANGES b/CHANGES index 0bd0753f2a..845b2244d7 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.3.0 [ When backported to 2.2.x, remove entry from this file ] + *) mod_auth_form: Make sure that basic authentication is correctly + faked directly after login. [Graham Leggett] + *) mod_session_cookie, mod_session_dbd: Make sure cookies are set both within the output headers and error output headers, so that the session is maintained across redirects. [Graham Leggett] diff --git a/modules/aaa/mod_auth_form.c b/modules/aaa/mod_auth_form.c index fd981cfe72..dfbb30d2ea 100644 --- a/modules/aaa/mod_auth_form.c +++ b/modules/aaa/mod_auth_form.c @@ -972,6 +972,7 @@ static int authenticate_form_authn(request_rec * r) if (OK == rv) { rv = check_authn(r, sent_user, sent_pw); if (OK == rv) { + fake_basic_authentication(r, conf, sent_user, sent_pw); set_session_auth(r, sent_user, sent_pw, conf->site); if (sent_loc) { apr_table_set(r->headers_out, "Location", sent_loc); -- 2.50.1