[latex3-commits] [git/LaTeX3-latex3-l3build] master: Quote entire --form argument (497e8f1)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Dec 23 10:13:40 CET 2018


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/497e8f14c8a4bb99d7bf94ab2f5c3914d8cbf8e2

>---------------------------------------------------------------

commit 497e8f14c8a4bb99d7bf94ab2f5c3914d8cbf8e2
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Dec 23 09:13:40 2018 +0000

    Quote entire --form argument


>---------------------------------------------------------------

497e8f14c8a4bb99d7bf94ab2f5c3914d8cbf8e2
 l3build-upload.lua |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3build-upload.lua b/l3build-upload.lua
index 9906849..106a0cf 100644
--- a/l3build-upload.lua
+++ b/l3build-upload.lua
@@ -221,7 +221,7 @@ function ctan_single_field(fname,fvalue,max,desc,mandatory)
       end
       vs = vs:gsub('"','\\"')
       vs = vs:gsub('`','\\`')
-      ctan_post=ctan_post .." --form " .. fname .. '="' .. vs .. '"'
+      ctan_post=ctan_post .. ' --form "' .. fname .. "=" .. vs .. '"'
     end
   else
     error("The value of the field '" .. fname .."' must be a scalar not a table")





More information about the latex3-commits mailing list