[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[3426] branches/1.2



Revision: 3426
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3426&view=rev
Author:   einhverfr
Date:     2011-07-04 13:27:38 +0000 (Mon, 04 Jul 2011)

Log Message:
-----------
Matt Trout's Suexec fixes for 1.2

Modified Paths:
--------------
    branches/1.2/Changelog
    branches/1.2/admin.pl
    branches/1.2/am.pl
    branches/1.2/ap.pl
    branches/1.2/ar.pl
    branches/1.2/bp.pl
    branches/1.2/ca.pl
    branches/1.2/cp.pl
    branches/1.2/ct.pl
    branches/1.2/gl.pl
    branches/1.2/hr.pl
    branches/1.2/ic.pl
    branches/1.2/ir.pl
    branches/1.2/is.pl
    branches/1.2/jc.pl
    branches/1.2/login.pl
    branches/1.2/menu.pl
    branches/1.2/oe.pl
    branches/1.2/pe.pl
    branches/1.2/ps.pl
    branches/1.2/rc.pl
    branches/1.2/rp.pl

Modified: branches/1.2/Changelog
===================================================================
--- branches/1.2/Changelog	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/Changelog	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,3 +1,8 @@
+Changelog for 1.2.24
+* Corrected (non-exploitable) SQL injection issue in custom field management
+stored procs.  Chris T
+* Corrected issues running LedgerSMB with SuExec.  (Matt S Trout)
+
 Changelog for 1.2.23
 * Fix for sales tax incorrect on sales/purchase order screen
 * fix for unreadable characters in HTML templates in some charsets.

Modified: branches/1.2/admin.pl
===================================================================
--- branches/1.2/admin.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/admin.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -48,6 +48,10 @@
 #
 #######################################################################
 
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 use LedgerSMB::Sysconfig;
 require "common.pl";
 

Modified: branches/1.2/am.pl
===================================================================
--- branches/1.2/am.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/am.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";

Modified: branches/1.2/ap.pl
===================================================================
--- branches/1.2/ap.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/ap.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";

Modified: branches/1.2/ar.pl
===================================================================
--- branches/1.2/ar.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/ar.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";

Modified: branches/1.2/bp.pl
===================================================================
--- branches/1.2/bp.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/bp.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";

Modified: branches/1.2/ca.pl
===================================================================
--- branches/1.2/ca.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/ca.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";

Modified: branches/1.2/cp.pl
===================================================================
--- branches/1.2/cp.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/cp.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";

Modified: branches/1.2/ct.pl
===================================================================
--- branches/1.2/ct.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/ct.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";

Modified: branches/1.2/gl.pl
===================================================================
--- branches/1.2/gl.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/gl.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";

Modified: branches/1.2/hr.pl
===================================================================
--- branches/1.2/hr.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/hr.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";

Modified: branches/1.2/ic.pl
===================================================================
--- branches/1.2/ic.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/ic.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";

Modified: branches/1.2/ir.pl
===================================================================
--- branches/1.2/ir.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/ir.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";

Modified: branches/1.2/is.pl
===================================================================
--- branches/1.2/is.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/is.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";

Modified: branches/1.2/jc.pl
===================================================================
--- branches/1.2/jc.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/jc.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";

Modified: branches/1.2/login.pl
===================================================================
--- branches/1.2/login.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/login.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -48,6 +48,10 @@
 # admin.pl is linked to this script
 #
 #######################################################################
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 
 use LedgerSMB::Sysconfig;
 require "common.pl";

Modified: branches/1.2/menu.pl
===================================================================
--- branches/1.2/menu.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/menu.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -46,6 +46,10 @@
 #
 #######################################################################
 
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 use LedgerSMB::Sysconfig;
 use Digest::MD5;
 

Modified: branches/1.2/oe.pl
===================================================================
--- branches/1.2/oe.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/oe.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";

Modified: branches/1.2/pe.pl
===================================================================
--- branches/1.2/pe.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/pe.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";

Modified: branches/1.2/ps.pl
===================================================================
--- branches/1.2/ps.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/ps.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";

Modified: branches/1.2/rc.pl
===================================================================
--- branches/1.2/rc.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/rc.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";

Modified: branches/1.2/rp.pl
===================================================================
--- branches/1.2/rp.pl	2011-07-04 13:25:59 UTC (rev 3425)
+++ branches/1.2/rp.pl	2011-07-04 13:27:38 UTC (rev 3426)
@@ -1,2 +1,6 @@
 #!/usr/bin/perl
+use FindBin;
+BEGIN {
+  lib->import($FindBin::Bin) unless $ENV{mod_perl}
+}
 require "menu.pl";


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.