]> git.lizzy.rs Git - plan9front.git/commitdiff
hpost: fix Content-Type parameter separator for multipart/form-data POSTs
authormischief <mischief@offblast.org>
Tue, 14 Jan 2014 01:57:45 +0000 (17:57 -0800)
committermischief <mischief@offblast.org>
Tue, 14 Jan 2014 01:57:45 +0000 (17:57 -0800)
rc/bin/hpost

index cab9c0be58c0f13fb910ca686011d10d53104fd7..e47dab87828db4927818b0178b7d91f4f6237858 100755 (executable)
@@ -90,7 +90,7 @@ fn mpost {
 }
 fn multi {
        f='HJBOUNDARY'
-       menc $"f | $hget -r 'Content-Type: multipart/form-data, boundary='$"f -b $url -P $action
+       menc $"f | $hget -r 'Content-Type: multipart/form-data; boundary='$"f -b $url -P $action
 }
 
 if(! ~ $action ''){