Great Circle Associates Majordomo-Workers
(June 1996)
 

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

Subject: Re: Majordomo advertise/noadvertise bug? (fwd)
From: madavis @ deliberate . com (Marilyn Davis)
Date: Tue, 11 Jun 1996 11:41:48 -0700 (PDT)
To: majordomo-workers @ greatcircle . com

Forwarded message:
> From GreatCircle.COM!majordomo-workers-owner Tue Jun 11 08:14:14 1996
> From: Dave Wolfe <dwolfe@risc.sps.mot.com>
> Message-Id: <199606111442.JAA14432@miaow.sps.mot.com>
> Subject: Re: Majordomo advertise/noadvertise bug?
> To: clolson@me.umn.edu (Curtis L. Olson)
> Date: Tue, 11 Jun 1996 09:42:09 -0500 (CDT)
> Cc: majordomo-workers@greatcircle.com
> In-Reply-To: <199606072206.RAA01260@kenai.me.umn.edu> from "Curtis L. Olson" at Jun 7, 96 05:06:25 pm
> Reply-To: Dave Wolfe <david_wolfe@risc.sps.mot.com>
> X-Mailer: ELM [version 2.4 PL25 PGP3 *ALPHA*]
> Mime-Version: 1.0
> Content-Type: text/plain; charset=US-ASCII
> Content-Transfer-Encoding: 7bit

Curtis L. Olson suggested:

> > I modified this line (and made a similar modification to line 894) to
> > read:
> > 
> >     $command = "(\$reply_addr =~ $i)";
> > 
> > This made much more sense to me and seemed to work just fine.
> 

Yes!  We tried that here and it fixed it!  We tried another suggestion,
doubling the /.*/ and it didn't seem to help.

Thank you so much.  It was important to us to get that working.
                                       *
Marilyn                               *
                                     *
                                    *
Marilyn Davis, Ph.D.-------------- * ---- eVote - online voting software
|                                 *       To participate in the beta
3790 El Camino Real, #147  *     *        write info@deliberate.com 
Palo Alto, CA 94306 USA     *   *         
(415) 493-3631 ------------- * * -------- madavis@deliberate.com -------
                              *



> Really?? All you did was delay the interpolation of $reply_addr until
> the eval in line 885 and remove the quoting from the substituted value
> of $reply_addr. The bare-word value of $reply_addr probably defaulted to
> a string (with no more interpolation done for the embedded '@', so that
> may have made it work better), but that would be, uh..., "unpredictable"
> if $reply_addr happened to match a reserved word or a subroutine name,
> e.g. "Reply-To: <unlink listname.config>".
> 
> The qq~~ is legal, but $reply_addr should have the meta-characters
> escaped before it's eval'ed to keep the '@' from being interpolated by
> Perl 5. The cheap fix is to use non-interpolating inner quotes:
> 
> 884    $command = "(q~$reply_addr~ =~ $i)";
> 894    $command = "(q~$reply_addr~ =~ $i)";
>                     ^
> Note 1 'q' instead of 2. This still counts on '~' not being in
> $reply_addr (probably a safe bet), but really should escape all
> non-alphanumeric characters in a copy of $reply_addr to be robust.
> 
> -- 
>  Dave Wolfe    *Not a spokesman for Motorola*
>  Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598
> 


Indexed By Date Previous: Re: your mail
From: pdc@lunch.engr.sgi.com (Paul Close)
Next: license agreement for majordomo
From: m.hampson@ic.ac.uk
Indexed By Thread Previous: Re: your mail
From: pdc@lunch.engr.sgi.com (Paul Close)
Next: license agreement for majordomo
From: m.hampson@ic.ac.uk

Google
 
Search Internet Search www.greatcircle.com