[open-ils-commits] [GIT] Evergreen ILS branch rel_2_8 updated. d1f7def042ba76f3d6f94229212dc7aefe6bdc76

Evergreen Git git at git.evergreen-ils.org
Thu Nov 5 13:34:45 EST 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_8 has been updated
       via  d1f7def042ba76f3d6f94229212dc7aefe6bdc76 (commit)
      from  432757b90c6cd0b0417148cb1363723d701c8e8a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d1f7def042ba76f3d6f94229212dc7aefe6bdc76
Author: Josh Stompro <stomproj at larl.org>
Date:   Wed Jun 10 20:12:10 2015 -0500

    LP#1400801 - Updated email validation regex for Org Unit admin gui
    
    Grabbed the example of a simplified RFC 5322 email regex from
    http://www.regular-expressions.info/email.html and lightly modified it
    for case sensitivity and removed the "&" character from the localpart allowed
    characters, which causes a 500 server error for some reason.
    
    This matches many more of the valid localpart special characters.
    
    Signed-off-by: Josh Stompro <stomproj at larl.org>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/web/conify/global/actor/org_unit.html b/Open-ILS/web/conify/global/actor/org_unit.html
index 2c34a67..851a9ec 100644
--- a/Open-ILS/web/conify/global/actor/org_unit.html
+++ b/Open-ILS/web/conify/global/actor/org_unit.html
@@ -239,7 +239,7 @@
 							<tr>
 								<th>&conify.org_unit.editor_pane.main_email;</th>
 								<td>
-									<span id="editor_pane_email" dojoType="dijit.form.ValidationTextBox" jsId="editor_pane_email" regExp="^\w+(?:\.\w+)*\@\w+(?:\.\w+)+$">
+									<span id="editor_pane_email" dojoType="dijit.form.ValidationTextBox" jsId="editor_pane_email" regExp="[a-zA-Z0-9!#$%'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?">
 										<script type="dojo/connect" event="onChange">
 											if (current_ou) ou_list_store.setValue( current_ou, "email", this.getValue() );
 										</script>

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/web/conify/global/actor/org_unit.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list