Browse Source

POST dispatcher correction

Danja Vasiliev 10 years ago
parent
commit
80a4d23957
1 changed files with 1 additions and 1 deletions
  1. 1 1
      openwrt/common/opt/lib/cgi/post.cgi

+ 1 - 1
openwrt/common/opt/lib/cgi/post.cgi

@@ -294,7 +294,7 @@ cat > $_POST_TMP  ## cautiously storing entire POST in a file
 case "${_CONTENT_TYPE}" in
   application\/x-www-form-urlencoded) postUrlenc ;;
            application\/octet-stream) postOctet ;;
-                 multipart/form-data) postMpart ;;
+                multipart\/form-data) postMpart ;;
                                    *) _ERR=1; _OUT='this is not a post' ;;
 esac
 [[ -e $_POST_TMP ]] && rm -f $_POST_TMP