Commit 24aca436870813f675589dfd8bfa34b6e36f91cf:
    try to debug a "SecurityError: Insecure operation - spawn"


Branch: refs/heads/master
Author: Sam Ruby <[email protected]>
Committer: Sam Ruby <[email protected]>
Pusher: rubys <[email protected]>

------------------------------------------------------------
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

Reply via email to