fix no content-type in source mbox
This commit is contained in:
6
src/bash/filterTest.sh
Executable file → Normal file
6
src/bash/filterTest.sh
Executable file → Normal file
@ -110,8 +110,10 @@ curlJirafeauSend () {
|
||||
# $4: name
|
||||
# $5: password
|
||||
|
||||
curl -X POST -F "time=$1" -F "key=$5" -F "file=@$2;type=$3;filename=$4" "${JIRAFEAU_LOCAL}/a.php"
|
||||
#"${jirafeauAPI}" -f "${JIRAFEAU_LOCAL}" -t "$1" -s "1Gi" -c "$3" -n "$4" send "$2" "$5"
|
||||
type=$3
|
||||
[ -z "${type}" ] && type="text/plain"
|
||||
curl -X POST -F "time=$1" -F "key=$5" -F "file=@$2;type=${type};filename=$4" "${JIRAFEAU_LOCAL}/a.php"
|
||||
#"${jirafeauAPI}" -f "${JIRAFEAU_LOCAL}" -t "$1" -s "1Gi" -c "${type}" -n "$4" send "$2" "$5"
|
||||
}
|
||||
|
||||
########################################
|
||||
|
Reference in New Issue
Block a user