whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: This fixes PR84 (again)
Date Tue, 17 Mar 2020 10:11:36 GMT
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 bd2bba9  This fixes PR84 (again)
bd2bba9 is described below

commit bd2bba9c1376bfecf366fd5f62f6b9b907e37c71
Author: Sebb <sebb@apache.org>
AuthorDate: Tue Mar 17 10:11:27 2020 +0000

    This fixes PR84 (again)
---
 www/members/nominations.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/members/nominations.cgi b/www/members/nominations.cgi
index beb9e82..3f2e716 100755
--- a/www/members/nominations.cgi
+++ b/www/members/nominations.cgi
@@ -37,7 +37,7 @@ def setup_data(cur_mtg_dir)
 
   # parse nominations for names and ids
   nominations = IO.read(File.join(cur_mtg_dir, 'nominated-members.txt').untaint).
-    scan(/^---+--\s+(?:[a-z]+)\s+(.*?):?\n/).flatten
+    scan(/^---+--\s+(?:[a-z_0-9-]+)\s+(.*?):?\n/).flatten
 
   nominations.shift if nominations.first == '<empty line>'
   nominations.pop if nominations.last.empty?


Mime
View raw message