This is an automated email from the ASF dual-hosted git repository.
sebb 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 9efb3e7 More untainting needed
9efb3e7 is described below
commit 9efb3e715f72bc3fc8300e387cf4b96d47b0633f
Author: Sebb <[email protected]>
AuthorDate: Fri Jun 26 14:14:12 2020 +0100
More untainting needed
---
www/officers/coi.cgi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/officers/coi.cgi b/www/officers/coi.cgi
index c054519..75c4fbd 100755
--- a/www/officers/coi.cgi
+++ b/www/officers/coi.cgi
@@ -15,8 +15,8 @@ COI_CURRENT_TEMPLATE_URL = File.join(COI_CURRENT_URL,
'template.txt')
user = ASF::Person.find($USER)
USERID = user.id
-USERNAME = user.cn
-USERMAIL = user.mail.first
+USERNAME = user.cn.untaint
+USERMAIL = user.mail.first.untaint
committees = ASF::Committee.officers + ASF::Committee.nonpmcs
chairs = committees.map do |committee|
committee.chairs.map {|chair| chair[:id]}