LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom
TOPIC: Email address is not valid
#37567
tamarix
Fresh Lemon
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Email address is not valid 6 Months, 4 Weeks ago Karma: 1
Hello,

I have been using Limesurvey for several years and made a number of installs.

I wanted today to make a fresh install of Limesurvey 1.87.

Everything went fine until I wanted to update the admin e.mail adress and password in the GUI interface

If I enter my e.mail adress (which contains a '-'), I get the error message:
Could not modify user data.

Email address is not valid.


When removing the '-', I do not get the error anymore (but obviously, the adress is not valid anymore)

Any idea would be welcomed ...

sincerely,
Franck

edit: To be more precise, having a '-' in the name (prior the @ is not a problem) but the probleme comes when the '-' is in the domain name (after the @)
 
Logged Logged
 
Last Edit: 2010/02/06 08:38 By tamarix.
  The administrator has disabled public write access.
#37569
c_schmitz
LimeSurvey Team
Posts: 532
graphgraph
User Offline Click here to see the profile of this user
Re:Email address is not valid 6 Months, 4 Weeks ago Karma: 50
Hello!

Please open a bug report on this. Thank you very much!
 
Logged Logged
 
If you found this answer helpful and saved you some time please consider a donation to the LimeSurvey project to keep us going!
  The administrator has disabled public write access.
#37570
agoetzke
Fresh Lemon
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:Email address is not valid 6 Months, 4 Weeks ago Karma: 0
The same here. I'll waiting for a little fix.

Sincerely,
Andreas
 
Logged Logged
  The administrator has disabled public write access.
#37592
tamarix
Fresh Lemon
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:Email address is not valid 6 Months, 3 Weeks ago Karma: 1
Hello

I would report the bug with pleasure but did not manage to find a way to log or register in Mantis ...

Any indications for that ?

Sorry for not being that helpful...

franck
 
Logged Logged
  The administrator has disabled public write access.
#37614
submarine
Fresh Lemon
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Email address is not valid 6 Months, 3 Weeks ago Karma: 0
HI,

in common.php, find the line which contains :
Code:

$atext_domain     = "(?:$alpha|$digit)";


and replace it by :
Code:

$atext_domain     = "(?:$alpha|$digit|[\\x2d])";



It worked for me.
 
Logged Logged
 
Last Edit: 2010/02/08 11:41 By submarine.
  The administrator has disabled public write access.
#37629
tamarix
Fresh Lemon
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:Email address is not valid 6 Months, 3 Weeks ago Karma: 1
Hello

Thanks, it worked for me as well.

Neverthless, I am still OK to open a bug report if someone tell me how to log in Mantis

Sincerely,
Franck
 
Logged Logged
  The administrator has disabled public write access.
#37631
submarine
Fresh Lemon
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Email address is not valid 6 Months, 3 Weeks ago Karma: 0
No need to report the bug anymore : it is resolved.

bugs.limesurvey.org/view.php?id=4096

Just to explain the line :

Code:

$atext_domain     = "(?:$alpha|$digit|[\\x2d])";


the character - is the number 45 in the ASCII table, and 45 = 0x2d in hexa, and \\x2d in PHP unicode notation. So you can add other chars by modifying this line of code.

Here is the ASCII table :


So if you want the char + instead of -, it should be :

Code:

$atext_domain     = "(?:$alpha|$digit|[\\x2b])";
 
Logged Logged
 
Last Edit: 2010/02/08 17:05 By submarine.
  The administrator has disabled public write access.
#37661
Mazi
Moderator Lime
Posts: 6876
graph
User Offline Click here to see the profile of this user
Re:Email address is not valid 6 Months, 3 Weeks ago Karma: 93
Thanks for posting your solution. The bugfix will be part of the next weekly stable plus release. This bugfix releases are mostly released Tuesday night.
 
Logged Logged
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support --> Contact
  The administrator has disabled public write access.
Go to top
Donation Image