This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  e940302   validate user id
e940302 is described below

commit e9403022f4f4f3961eca855b02eab82ee27550ba
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Wed Oct 12 20:31:19 2016 -0400

    validate user id
---
 www/secmail/views/forms/icla.js.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/secmail/views/forms/icla.js.rb 
b/www/secmail/views/forms/icla.js.rb
index e4b7b20..02e8294 100644
--- a/www/secmail/views/forms/icla.js.rb
+++ b/www/secmail/views/forms/icla.js.rb
@@ -57,7 +57,7 @@ class ICLA < React
           _th 'User ID'
           _td do
             _input name: 'user', value: @user, onBlur: self.validate_userid,
-              disabled: @filed
+              disabled: @filed, pattern: '^[a-z][-a-z0-9_]+$'
           end
         end
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Reply via email to