1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-manager-1.14.0/root/etc/e-smith/web/common/cgi-bin/logout mezzanine_patched_e-smith-manager-1.14.0/root/etc/e-smith/web/common/cgi-bin/logout |
2 |
|
|
--- e-smith-manager-1.14.0/root/etc/e-smith/web/common/cgi-bin/logout 2007-01-26 18:51:30.000000000 -0700 |
3 |
|
|
+++ mezzanine_patched_e-smith-manager-1.14.0/root/etc/e-smith/web/common/cgi-bin/logout 2007-03-11 00:06:57.000000000 -0700 |
4 |
|
|
@@ -55,7 +55,7 @@ |
5 |
|
|
|
6 |
|
|
# Logout by resetting the auth cookie |
7 |
|
|
my @cookies = cookie(-name => $at->cookie_name, -value => '', -expires => '-1h', |
8 |
|
|
- ($AUTH_DOMAIN ? (-domain => $AUTH_DOMAIN) : ())); |
9 |
|
|
+ ($AUTH_DOMAIN && $AUTH_DOMAIN =~ /\./ ? (-domain => $AUTH_DOMAIN) : ())); |
10 |
|
|
push @cookies, map { cookie(-name => $_, -value => '', -expires => '-1h') } @NUKE_COOKIES; |
11 |
|
|
|
12 |
|
|
my $redirected = 0; |