Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    Technical Support    Question and Answer  ›  Apostrophe in registration email address
Users Browsing Forum
No Members and 3 Guests

Apostrophe in registration email address  This thread currently has 235 views. Print
1 Pages 1 Recommend Thread
delbert
April 8, 2008, 8:32am Report to Moderator Report to Moderator
E-Blah Member
Posts: 2
Posts Per Day: 0.01
Time Online: 18 minutes
We're running version 8.3 on our forum and have a user that can't register their email address because it has an apostrophe in it. I've checked on this forum as well and it still says an address with an apostrophe in it is invalid. Is there an option I can change to support this character or have I found a problem?

Apologies if this discussion has been done before but searching for ' was not very successful

Many thanks,

DelBert
Logged Offline
Private Message Private message
Martin
April 8, 2008, 12:03pm Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,558
Gender: Male
Posts Per Day: 3.14
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 25 minutes
Location: UK
Age: 50
Hi there DelBert,

You will need to edit 2 files to achieve this, Register.pl and ProfileEdit.pl

Look for:

Code
if($FORM{'email'} !~ /\A([0-9A-Za-z\._\-]{1,})


and change to:

Code
if($FORM{'email'} !~ /\A([0-9A-Za-z\._'\-]{1,})


in both files.

Only tested this in the latest version and it worked but this line is the same as 8.3



Martin's Reputation: Increase

Revision History (1 edits)
Martin  -  April 8, 2008, 12:33pm
Logged Offline
Site Site Private Message Private message Reply: 1 - 2
delbert
April 9, 2008, 8:28am Report to Moderator Report to Moderator
E-Blah Member
Posts: 2
Posts Per Day: 0.01
Time Online: 18 minutes
Thanks Martin that seems to have done the trick.

I did try testing it but it seems our mail servers won't allow addresses with apostrophe's either so it seems Eblah isn't the only software that doesn't like them!

DelBert

Logged Offline
Private Message Private message Reply: 2 - 2
1 Pages 1 Recommend Thread
Print

E-Blah Community    Technical Support    Question and Answer  ›  Apostrophe in registration email address