From 85e7950c4e5b8bf7fbe0aabb154cc8b2b589e022 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 28 Jun 2014 18:50:15 +0200 Subject: [PATCH] webbuild-functions: silence a warning which should be harmful and can't fix on client side --- webbuild/webbuild-functions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webbuild/webbuild-functions b/webbuild/webbuild-functions index 66378af..5d9e8c1 100644 --- a/webbuild/webbuild-functions +++ b/webbuild/webbuild-functions @@ -96,9 +96,9 @@ function cgi_get_POST_vars() cgi_get_POST_upload "${CONTENT_TYPE/*boundary=}" return fi - [ "${CONTENT_TYPE:0:33}" != "application/x-www-form-urlencoded" ] && \ - echo "Warning: you should probably use MIME type "\ - "application/x-www-form-urlencoded instead of ${CONTENT_TYPE}!" 1>&2 + #[ "${CONTENT_TYPE:0:33}" != "application/x-www-form-urlencoded" ] && \ + # echo "Warning: you should probably use MIME type "\ + # "application/x-www-form-urlencoded instead of ${CONTENT_TYPE}!" 1>&2 # save POST variables (only first time this is called) [ -z "$QUERY_STRING_POST" \ -a "$REQUEST_METHOD" = "POST" -a ! -z "$CONTENT_LENGTH" ] &&