Great Circle Associates Majordomo-Users
(August 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: [Fwd: BoS: Vulnerability in Majordomo]
From: "Mats Dufberg" <Mats . Dufberg @ abc . se>
Date: Tue, 26 Aug 97 22:51:24 +0200
To: "Virtual Joe" <jduche @ creighton . edu>
Cc: "Majordomo Users" <majordomo-users @ GreatCircle . com>
Reply-to: "Mats Dufberg" <Mats . Dufberg @ abc . se>

On Tue, 26 Aug 1997 13:49:31 -0500 (CDT), Virtual Joe wrote:

>> +    $reply_addr =~ s/[~`/]//g;
>
>I'm no perl expert, but I think you will need to escape out a few of these
>characters (I did them all just to be safe) in order to get it to work:
>
>+    $reply_addr =~ s/\[\~\`\/\]//g;


Well, your escaping will change the meaning of the 
search-replace. You better stick to the slightly revised
version posted in this group by Jason L Tibbitts III 
<tibbs@hpc.uh.edu>,

    $reply_addr =~ s![~`/]!!g;

or just escape the "/" in the character class,

    $reply_addr =~ s/[~`\/]//g;

or use tr///,

    $reply_addr =~ tr!~`/!!d;






------------------------------------------------------
Mats Dufberg                       mats.dufberg@abc.se






Follow-Ups:
Indexed By Date Previous: Digest
From: Scott Rothgaber <scott@saberspace.com>
Next: Re: Digest
From: jason carr <mouse@cyberline.net>
Indexed By Thread Previous: How To Use E-Mail Without Shooting Yourself In The Foot
From: Jered J Floyd <jered@mit.edu>
Next: Re: [Fwd: BoS: Vulnerability in Majordomo]
From: Operacao-AmazonNet <operacao@amazon.com.br>

Google
 
Search Internet Search www.greatcircle.com