gforge-commits
[Top][All Lists]
Advanced

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

[Gforge-commits] gforge/deb-specific db-upgrade.pl,1.42,1.42.2.1


From: lo-lan-do
Subject: [Gforge-commits] gforge/deb-specific db-upgrade.pl,1.42,1.42.2.1
Date: Thu, 14 Oct 2004 15:44:30 -0500

Update of /cvsroot/gforge/gforge/deb-specific
In directory db.perdue.net:/tmp/cvs-serv27265/deb-specific

Modified Files:
      Tag: Branch_3_1
        db-upgrade.pl 
Log Message:
3.1-22: fixed quoting in db-upgrade.pl script, to prevent Bad Things
from happening when some password contains special characters, thanks
to David Margery for noticing (closes: #276465).


Index: db-upgrade.pl
===================================================================
RCS file: /cvsroot/gforge/gforge/deb-specific/db-upgrade.pl,v
retrieving revision 1.42
retrieving revision 1.42.2.1
diff -u -d -r1.42 -r1.42.2.1
--- db-upgrade.pl       21 Sep 2003 11:18:08 -0000      1.42
+++ db-upgrade.pl       14 Oct 2004 20:44:28 -0000      1.42.2.1
@@ -175,7 +175,7 @@
 
              $login = $admin_login ;
              $pwd = $admin_password ;
-             $md5pwd=qx/echo -n $pwd | md5sum/ ;
+             $md5pwd=qx/echo -n '$pwd' | md5sum/ ;
              chomp $md5pwd ;
              $md5pwd =~ s/(.{32}) .*/$1/ ;
              $email = $server_admin ;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]