git: 9front

Download patch

ref: ede13e95471998b59a3f952591666e175295d521
parent: 188294c2cadec780e0828645c273f6f9c74a8c01
author: mischief <mischief@offblast.org>
date: Mon Jan 13 12:57:45 EST 2014

hpost: fix Content-Type parameter separator for multipart/form-data POSTs

--- a/rc/bin/hpost
+++ b/rc/bin/hpost
@@ -90,7 +90,7 @@
 }
 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 ''){
--