You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sam Ruby <ru...@apache.org> on 2015/12/04 20:20:18 UTC
[whimsy.git] [37/50] Commit b42b4e3: newline at end of file
Commit b42b4e33042871751e10493b4455bd8466c87134:
newline at end of file
git-svn-id: https://svn.apache.org/repos/infra/infrastructure/trunk/projects/whimsy@820563 90ea9780-b833-de11-8433-001ec94261de
Branch: refs/heads/master
Author: Daniel Shahaf <da...@apache.org>
Committer: Daniel Shahaf <da...@apache.org>
Pusher: rubys <ru...@apache.org>
------------------------------------------------------------
www/officers/mlreq.cgi | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------
diff --git a/www/officers/mlreq.cgi b/www/officers/mlreq.cgi
index 71e2db2..c8c9923 100755
--- a/www/officers/mlreq.cgi
+++ b/www/officers/mlreq.cgi
@@ -183,7 +183,7 @@ _html do
queue.each do |vars|
mlreq = "#{vars[:localpart]}-#{vars[:subdomain]}".gsub(/[^-\w]/,'_')
vars.each {|name,value| vars[name] = Shellwords.shellescape(value)}
- request = vars.map {|name,value| "#{name}=#{value}"}.join("\n")
+ request = vars.map {|name,value| "#{name}=#{value}\n"}.join("")
_pre request
File.open("#{mlreq.untaint}.txt",'w') { |file| file.write request }
_.system(['svn', 'add', "#{mlreq.untaint}.txt"])