You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2018/03/12 21:00:44 UTC
[whimsy] branch master updated: set charset on proxies
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 943ad4d set charset on proxies
943ad4d is described below
commit 943ad4dd3564069878df3dc31c1941ee28673496
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Mon Mar 12 17:00:16 2018 -0400
set charset on proxies
---
www/members/proxy.cgi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/www/members/proxy.cgi b/www/members/proxy.cgi
index def0edf..cf9ab74 100755
--- a/www/members/proxy.cgi
+++ b/www/members/proxy.cgi
@@ -141,6 +141,8 @@ _html do
filename = "proxies-received/#$USER.txt".untaint
File.write(filename, proxyform)
_.system ['svn', 'add', filename]
+ _.system ['svn', 'propset', 'svn:mime-type',
+ 'text/plain; charset=utf-8', filename]
# get a list of proxies
list = Dir['proxies-received/*.txt'].map do |file|
--
To stop receiving notification emails like this one, please contact
rubys@apache.org.