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 --- e-smith-manager-1.14.0/root/etc/e-smith/web/common/cgi-bin/logout 2007-01-26 18:51:30.000000000 -0700 +++ 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 @@ -55,7 +55,7 @@ # Logout by resetting the auth cookie my @cookies = cookie(-name => $at->cookie_name, -value => '', -expires => '-1h', - ($AUTH_DOMAIN ? (-domain => $AUTH_DOMAIN) : ())); + ($AUTH_DOMAIN && $AUTH_DOMAIN =~ /\./ ? (-domain => $AUTH_DOMAIN) : ())); push @cookies, map { cookie(-name => $_, -value => '', -expires => '-1h') } @NUKE_COOKIES; my $redirected = 0;