This commit is contained in:
zlax committed 2024-02-29 12:07:58 +03:00
commit a93d795449
7 files changed
+2819

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
printf "Content-type: text/plain\n\n"
if [ "$REQUEST_METHOD" = "POST" ]; then
if [ "$CONTENT_LENGTH" -gt 0 ]; then
if [ "$CONTENT_LENGTH" -lt 131072 ]; then
read -n $CONTENT_LENGTH POST_DATA <&0
echo "${POST_DATA//!custom_newline!/$'\n'}" >> ../html/fdb/upload.csv
fi
fi
fi
exit