From 02eb9b3912676b47b1371c8c9f6d1faac944bd2b Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sun, 12 Nov 2006 04:33:16 +0000 Subject: Added exit after redirect on logout git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@518 4979c152-3d1c-0410-bac9-87ea11338e46 --- common.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/common.pl b/common.pl index efa872b4..54e45291 100644 --- a/common.pl +++ b/common.pl @@ -31,6 +31,7 @@ sub redirect { if (!$script){ # http redirect to login.pl if called w/no args print "Location: login.pl\n"; + exit; } $form->error($locale->text("Invalid Redirect")) -- cgit v1.2.3