> From GreatCircle.COM!majordomo-workers-owner Tue Jun 11 08:14:14 1996
> From: Dave Wolfe <firstname.lastname@example.org>
> Message-Id: <199606111442.JAA14432@miaow.sps.mot.com>
> Subject: Re: Majordomo advertise/noadvertise bug?
> To: email@example.com (Curtis L. Olson)
> Date: Tue, 11 Jun 1996 09:42:09 -0500 (CDT)
> Cc: firstname.lastname@example.org
> 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 <email@example.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 Davis, Ph.D.-------------- * ---- eVote - online voting software
| * To participate in the beta
3790 El Camino Real, #147 * * write firstname.lastname@example.org
Palo Alto, CA 94306 USA * *
(415) 493-3631 ------------- * * -------- email@example.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