[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.6-64-g8402206
Kevin Falcone
falcone at bestpractical.com
Mon Nov 2 12:26:29 EST 2009
The branch, 3.8-trunk has been updated
via 84022062cec889f1cabf1d4a10e28b7b66addf23 (commit)
from 30e610f1d916bbd3d91e24380a7406deea6bd595 (commit)
Summary of changes:
lib/RT/Interface/Web.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 84022062cec889f1cabf1d4a10e28b7b66addf23
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Tue Oct 27 12:06:22 2009 -0400
use err_headers_out instead of headers_out
This means cookies will still be set if you redirect
Apache/mod_perl won't send the cookie when using headers_out
diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index b82b638..5127f05 100755
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -480,7 +480,7 @@ sub SendSessionCookie {
-secure => ( RT->Config->Get('WebSecureCookies') ? 1 : 0 )
);
- $HTML::Mason::Commands::r->headers_out->{'Set-Cookie'} = $cookie->as_string;
+ $HTML::Mason::Commands::r->err_headers_out->{'Set-Cookie'} = $cookie->as_string;
}
=head2 Redirect URL
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list