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

rubys 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 95223d5  untaint template
95223d5 is described below

commit 95223d5a6d047c5884ff915ffa9e1dc4c0b49496
Author: Sam Ruby <[email protected]>
AuthorDate: Wed Jan 15 13:01:07 2020 -0500

    untaint template
---
 www/board/agenda/views/actions/remind-actions.json.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/board/agenda/views/actions/remind-actions.json.rb 
b/www/board/agenda/views/actions/remind-actions.json.rb
index 115ff7f..f273722 100644
--- a/www/board/agenda/views/actions/remind-actions.json.rb
+++ b/www/board/agenda/views/actions/remind-actions.json.rb
@@ -25,7 +25,7 @@ unless from
   from = "#{sender.public_name.inspect} <#{sender.id}@apache.org>".untaint
 end
 
-template = File.read("templates/remind-action.txt")
+template = File.read("templates/remind-action.txt").untaint
 
 # iterate over the action items
 @actions.group_by {|action| action['owner']}.each do |owner, actions|

Reply via email to