diff options
-rwxr-xr-x | wgetpaste | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -133,8 +133,8 @@ POST_dpaste() { echo -e "--$boundary\r" echo -e "Content-Disposition: form-data; name=\"content\"\r" echo -e "\r" - echo -e "${content}\r" - echo -e "--${boundary}--\r" + echo -n "${content}" + echo -e "\r\n--${boundary}--\r" ADDITIONAL_HEADERS_dpaste=("Content-Type: multipart/form-data; boundary=${boundary}") } REGEX_RAW_dpaste='s|^http.*|\0.txt|' |