noosfero | 2 new commits pushed to repository

Bráulio Bhavamitra gitlab at gitlab.com
Tue Feb 10 16:09:21 BRST 2015


Bráulio Bhavamitra pushed to refs/heads/master at <a href="https://gitlab.com/noosfero/noosfero">Noosfero / noosfero</a>

Commits:
<a href="https://gitlab.com/noosfero/noosfero/commit/50d57964af1b754a4b6eb123bb123d70b8628205">50d57964</a> by Braulio Bhavamitra
Allow _ in emails

- - - - -
<a href="https://gitlab.com/noosfero/noosfero/commit/980d4cacb3e175339d68a2ff21b9d632708adb79">980d4cac</a> by Bráulio Bhavamitra
Merge branch 'ai2936' into 'master'

Allow _ in profiles identifiers

http://noosfero.org/Development/ActionItem2936

See merge request !63

- - - - -


Changes:

=====================================
lib/noosfero/constants.rb
=====================================
--- a/lib/noosfero/constants.rb
+++ b/lib/noosfero/constants.rb
@@ -1,5 +1,5 @@
 module Noosfero::Constants
-  EMAIL_FORMAT = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\Z/i
+  EMAIL_FORMAT = /\A([^@\s]+)@((?:[-_a-z0-9]+\.)+[a-z]{2,})\Z/i
   INTEGER_FORMAT = /\A\d*\Z/i
   PROFILE_PER_PAGE = 10
 end

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150210/87101e2a/attachment.html>


More information about the Noosfero-dev mailing list