[rt-users] escaping @ in email addresses in RT_SiteConfig.pm --todo or not to do?

Schultz, Eric ESchultz at corp.untd.com
Mon Jan 30 14:00:49 EST 2006


But you said it was (from your original email):

--when this address is set as...
  Set($OwnerEmail, "admin at test-network.us");
...it results in this error...
  Possible unintended interpolation of @test in string at
/etc/rt/RT_SiteConfig.pm line 34.
...when the database is created (or dropped)

--when the @ is escaped as...
  Set($OwnerEmail, "admin\@test-network.us");
...no error (message) occurs 

> -----Original Message-----
> From: rt-users-bounces at lists.bestpractical.com 
> [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf 
> Of Hasan Muhammad
> Sent: Monday, January 30, 2006 10:57 AM
> To: rt-users at lists.bestpractical.com
> Subject: RE: [rt-users] escaping @ in email addresses in 
> RT_SiteConfig.pm --todo or not to do?
> 
> --- "Schultz, Eric" <ESchultz at corp.untd.com> wrote:
> 
> > You ran into a Perlism :-)  Single quotes don't interpolate 
> the special
> > character '@' - double quotes do.  Which is why you have to 
> escape it
> > with double quotes. 
> 
> ..but is not this line that caused the error message...
> >   Set($OwnerEmail, "admin at test-network.us");
> ...already escaped with double quotes? 
> 
> Hasan



More information about the rt-users mailing list