[hackers] [diri] Fix unscaped / in sed command, thanks DenisG for the report

From: <uriel_AT_localhost.localdomain>
Date: Mon May 28 20:31:36 2007

changeset: 72:b307cd28ada6
tag: tip
user: uriel_AT_localhost.localdomain
date: Mon May 28 20:29:57 2007 +0200
summary: Fix unscaped / in sed command, thanks DenisG for the report

diff -r 8cab34977440 -r b307cd28ada6 remove.rc
--- a/remove.rc Thu Apr 26 14:05:21 2007 -0400
+++ b/remove.rc Mon May 28 20:29:57 2007 +0200
@@ -8,7 +8,7 @@ if(test $"password) {
                         /bin/rm -rf $DIRIDIR/$PATH_INFO.diri
                         /bin/rm -rf $DIRIDIR/$PATH_INFO
                 }
- redirect $SHOW ^ `{echo /$PATH_INFO | sed 's/(.*/)/\1/'}
+ redirect $SHOW ^ `{echo /$PATH_INFO | sed 's/(.*\/)/\1/'}
         }
         error = 'Incorrect password'
 }
Received on Mon May 28 2007 - 20:31:36 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:51 UTC