[open-ils-commits] [GIT] Evergreen ILS branch rel_2_9 updated. ff532630c8f343000cec24cd12e34f8ee08110aa
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_9 has been updated
via ff532630c8f343000cec24cd12e34f8ee08110aa (commit)
from 123dba1b3d715cd985b292dd723a0a854d1f5bfc (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 ff532630c8f343000cec24cd12e34f8ee08110aa
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