whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [1/1] Commit 24aca43: try to debug a "SecurityError: Insecure operation - spawn"
Date Thu, 17 Mar 2016 15:43:40 GMT
Commit 24aca436870813f675589dfd8bfa34b6e36f91cf:
    try to debug a "SecurityError: Insecure operation - spawn"


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@apache.org>

------------------------------------------------------------
www/board/agenda/views/actions/todos.json.rb                 | ++++++ --
------------------------------------------------------------
8 changes: 6 additions, 2 deletions.
------------------------------------------------------------


diff --git a/www/board/agenda/views/actions/todos.json.rb b/www/board/agenda/views/actions/todos.json.rb
index 268ada0..909edf3 100644
--- a/www/board/agenda/views/actions/todos.json.rb
+++ b/www/board/agenda/views/actions/todos.json.rb
@@ -45,8 +45,12 @@
     contents = establish.join("\n") + "\n"
     File.write filename, contents
     system "svn add #{filename}"
-    system "svn commit --username #{env.user} --password #{env.password} " +
-      "#{filename} -m 'record #{date} approved TLP resolutions'"
+STDERR.puts user: env.user.tainted?
+STDERR.puts password: env.password.tainted?
+STDERR.puts filename: filename.tainted?
+STDERR.puts date: date.tainted?
+    system 'svn', 'commit', '--username', env.user, '--password', env.password,
+      filename, '-m', 'record #{date} approved TLP resolutions'
     if $? == 0
       victims += establish
     else

Mime
View raw message