From 05988448945646b95abd7cc1ceb41a0a7dbcc057 Mon Sep 17 00:00:00 2001 From: mischief Date: Mon, 13 Jan 2014 17:57:45 -0800 Subject: [PATCH] hpost: fix Content-Type parameter separator for multipart/form-data POSTs --- rc/bin/hpost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/bin/hpost b/rc/bin/hpost index cab9c0be5..e47dab878 100755 --- a/rc/bin/hpost +++ b/rc/bin/hpost @@ -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 ''){