From 60db12abe18694f84930d4886415fbced5705185 Mon Sep 17 00:00:00 2001 From: Dominique Liberda Date: Fri, 28 Apr 2023 11:34:42 +0200 Subject: [PATCH] server: temporarily revert the previous patch ,_, --- src/server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.sh b/src/server.sh index 43dad2f..215a1f3 100755 --- a/src/server.sh +++ b/src/server.sh @@ -175,7 +175,7 @@ if [[ "${cfg[proxy]}" == true ]]; then r[status]=211 fi -if [[ "{cfg[enable_multipart]}" == true ]] && [[ "${r[post]}" == true ]] && [[ "${r[status]}" == 200 || "${r[status]}" == 212 ]]; then +if [[ "${r[post]}" == true ]] && [[ "${r[status]}" == 200 || "${r[status]}" == 212 ]]; then # This whole ordeal is here to prevent passing binary data as a variable. # I could have done it as an array, but this solution works, and it's # speedy enough so I don't care.