This is an automated email from the ASF dual-hosted git repository.
sebbASF pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new be51b6ae Ignore email local part case differences
be51b6ae is described below
commit be51b6ae40ca546b52d37139915d2ac3a2d4bf31
Author: Sebb <[email protected]>
AuthorDate: Tue Jun 2 13:11:48 2026 +0100
Ignore email local part case differences
---
www/secretary/workbench/views/forms/icla.js.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/www/secretary/workbench/views/forms/icla.js.rb
b/www/secretary/workbench/views/forms/icla.js.rb
index cbdd74ba..2f377231 100644
--- a/www/secretary/workbench/views/forms/icla.js.rb
+++ b/www/secretary/workbench/views/forms/icla.js.rb
@@ -187,7 +187,8 @@ class ICLA < Vue
email = document.querySelector('input[name=email]')
email.style.borderColor = email.style.backgroundColor = ''
if pdfdata.EMail
- if pdfdata.EMail != @@headers.from
+ if pdfdata.EMail.downcase != @@headers.from.downcase
+ # Most mail systems ignore case differences in the local part
email.style.borderColor = 'red'
email.style.backgroundColor = 'yellow'
@errmsg = "Submitter email does not match PDF email"