[latex3-commits] [git/LaTeX3-latex3-l3build] form-string: use form-string not form to guard against leading < or @ (f47fea5)

David Carlisle d.p.carlisle at gmail.com
Fri Dec 17 19:53:15 CET 2021


Repository : https://github.com/latex3/l3build
On branch  : form-string
Link       : https://github.com/latex3/l3build/commit/f47fea569c909732b7d84a6cd8e17019243638dc

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

commit f47fea569c909732b7d84a6cd8e17019243638dc
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Fri Dec 17 18:53:15 2021 +0000

    use form-string not form to guard against leading < or @


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

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

diff --git a/l3build-upload.lua b/l3build-upload.lua
index 4b3aa7a..0c1eccb 100644
--- a/l3build-upload.lua
+++ b/l3build-upload.lua
@@ -324,7 +324,7 @@ function ctan_single_field(fname,fvalue,max,desc,mandatory)
       vs = vs:gsub('`','\\`')
       vs = vs:gsub('\n','\\n')
 -- for strings on commandline version      ctan_post=ctan_post .. ' --form "' .. fname .. "=" .. vs .. '"'
-      ctan_post=ctan_post .. '\nform="' .. fname .. '=' .. vs .. '"'
+      ctan_post=ctan_post .. '\nform-string="' .. 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.