[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pptpclient-commits
Subject:    [pptpclient-commits] CVS: pptp-extras/pptpconfig ChangeLog, 1.21,
From:       "James Cameron" <quozl () users ! sourceforge ! net>
Date:       2009-09-13 5:59:51
Message-ID: E1Mmi7r-0008SC-GS () ddv4jf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Update of /cvsroot/pptpclient/pptp-extras/pptpconfig
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv32479

Modified Files:
	ChangeLog pptpconfig.php 
Log Message:
quote password when writing secrets file

Index: ChangeLog
===================================================================
RCS file: /cvsroot/pptpclient/pptp-extras/pptpconfig/ChangeLog,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- ChangeLog	30 Mar 2008 22:23:49 -0000	1.21
+++ ChangeLog	13 Sep 2009 05:59:49 -0000	1.22
@@ -1,3 +1,9 @@
+Mon Mar 31 11:08:46 2008  James Cameron  <quozl@us.netrek.org>
+
+	* pptpconfig.php (tunnel_to_secret): quote password when placing
+	it in secrets file.  This change was delayed reaching CVS by over
+	a year.  Sorry.
+
 Mon Mar 31 09:18:46 2008  Alex Amiryan  <alex@amiryan.org>
 
 	* pptpconfig.php: fix problem using CLI interface that caused

Index: pptpconfig.php
===================================================================
RCS file: /cvsroot/pptpclient/pptp-extras/pptpconfig/pptpconfig.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- pptpconfig.php	30 Mar 2008 22:23:49 -0000	1.15
+++ pptpconfig.php	13 Sep 2009 05:59:49 -0000	1.16
@@ -440,10 +440,10 @@
     $tail = '# --- '.$me.' added for tunnel '.$tunnel['name'];
     if ($tunnel['domain'] == '') {
 	$body = $tunnel['username']." ".
-	    munge($tunnel['name'])." ".$tunnel['password']." *";
+	    munge($tunnel['name'])." \"".$tunnel['password']."\" *";
     } else {
 	$body = $tunnel['domain']."\\\\".$tunnel['username']." ".
-	    munge($tunnel['name'])." ".$tunnel['password']." *";
+	    munge($tunnel['name'])." \"".$tunnel['password']."\" *";
     }
 
     return "\n".$head."\n".$body."\n".$tail."\n";


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
pptpclient-commits mailing list
pptpclient-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pptpclient-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic