Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic + in user part of an email (Read 693 times)
LoRe
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Dec 6th, 2002
+ in user part of an email
Dec 6th, 2002 at 1:22am
Print Post  
Hi,

It isn't possible to register, when the e-mail address has a "+"-sign in the user part. But the "+"-sign is not forbidden in the user part of an email address. Read the RFC.
  
Back to top
 
IP Logged
 
Shoeb Omar
God Member
*****
Offline


Mod Writer

Posts: 5665
Location: San Diego
Joined: Jun 29th, 2001
Gender: Male
Re: + in user part of an email
Reply #1 - Dec 6th, 2002 at 5:29am
Print Post  
try this fix:

Edit file Register.pl

search for:

Code
Select All
      &fatal_error("$txt{'240'} $txt{'69'} $txt{'241'}") if($member{'email'} !~ /\A[0-9A-Za-z@\._\-]+\Z/); 



replace:

Code
Select All
      &fatal_error("$txt{'240'} $txt{'69'} $txt{'241'}") if($member{'email'} !~ /\A[0-9A-Za-z@\._\-\+]+\Z/); 



Edit file Profile.pl

search for:

Code
Select All
	&fatal_error("$txt{'240'} $txt{'69'} $txt{'241'}") if($member{'email'} !~ /^[0-9A-Za-z@\._\-]+$/); 



replace:

Code
Select All
	&fatal_error("$txt{'240'} $txt{'69'} $txt{'241'}") if($member{'email'} !~ /^[0-9A-Za-z@\._\-\+]+$/); 

  

YaBB SP2 BETA!
Now taking pay jobs in PHP or Perl.  Contact me for details.
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint