hpost: fix field content mangling when newlines are present

This commit is contained in:
BurnZeZ 2017-07-17 04:34:14 +00:00
parent e7e18aac7f
commit 37e0d4ab29

View file

@ -63,7 +63,7 @@ fn menc {
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}