whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: More UIR decoding needed
Date Sun, 21 Oct 2018 18:03:20 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb 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 0638e02  More UIR decoding needed
0638e02 is described below

commit 0638e02baec80cf28a27d2776fd6bddee32c8aaa
Author: Sebb <sebb@apache.org>
AuthorDate: Sun Oct 21 19:03:19 2018 +0100

    More UIR decoding needed
---
 www/secretary/workbench/views/actions/icla.json.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/secretary/workbench/views/actions/icla.json.rb b/www/secretary/workbench/views/actions/icla.json.rb
index 02f86c5..fddc303 100644
--- a/www/secretary/workbench/views/actions/icla.json.rb
+++ b/www/secretary/workbench/views/actions/icla.json.rb
@@ -42,7 +42,7 @@ _personalize_email(env.user)
 # write attachment (+ signature, if present) to the documents/iclas directory
 task "svn commit documents/iclas/#@filename#{fileext}" do
   form do
-    _input value: @selected, name: 'selected'
+    _input value: URI.decode(@selected), name: 'selected'
 
     if @signature and not @signature.empty?
       _input value: @signature, name: 'signature'
@@ -56,7 +56,7 @@ task "svn commit documents/iclas/#@filename#{fileext}" do
 
     # create/add file(s)
     if @signature.to_s.empty? or fileext != '.pdf'
-      message.write_svn("#{dir}/iclas", @filename, @selected, @signature)
+      message.write_svn("#{dir}/iclas", @filename, URI.decode(@selected), @signature)
     else
       message.write_svn("#{dir}/iclas", @filename, 
         @selected => 'icla.pdf', @signature => 'icla.pdf.asc')


Mime
View raw message