[open-ils-commits] [GIT] Evergreen ILS branch master updated. ec8383ef5b0c0c52f489dca55f402ca21ebc6851

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, master has been updated
       via  ec8383ef5b0c0c52f489dca55f402ca21ebc6851 (commit)
      from  837e3d9330afe569a74e1baf60f3aa24886b885a (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 ec8383ef5b0c0c52f489dca55f402ca21ebc6851
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