ref: dd08c6c3243a55176e639360615a9f035153424d
parent: aab330f3d53614bc3121eadf4b8c3ac97d58ea6d
author: BurnZeZ <brz-9dev@feline.systems>
date: Mon Jul 17 00:34:14 EDT 2017
hpost: fix field content mangling when newlines are present
--- a/rc/bin/hpost
+++ b/rc/bin/hpost
@@ -63,7 +63,7 @@
echo 'Content-Disposition: form-data; name="'$"k'"'$"cr
echo $"cr
i=$"i$"cr
- sed 's!^[^:]+:!!' /env/i
+ sed '1s!^[^:]+:!!' /env/i
}
for(i in $af){ k=`{sed 's!@.*$!!; q' /env/i}--
⑨