summaryrefslogtreecommitdiff
path: root/frontends/cgi
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/cgi')
-rwxr-xr-xfrontends/cgi/live-build-cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/cgi/live-build-cgi b/frontends/cgi/live-build-cgi
index 8014ebb87..49cb1e5bf 100755
--- a/frontends/cgi/live-build-cgi
+++ b/frontends/cgi/live-build-cgi
@@ -32,12 +32,12 @@ fi
echo "Content-type: text/html"
echo
-#QUERY_STRING=`cat /dev/stdin`
-#QUERY_STRING=$(cat /dev/stdin)
# If we are passed something then read it in.
if [ "$REQUEST_METHOD" = "POST" ] && [ "$CONTENT_LENGTH" -gt 0 ]
then
- read -n $CONTENT_LENGTH POST_DATA <&0
+ #QUERY_STRING=`cat /dev/stdin`
+ QUERY_STRING=$(cat /dev/stdin)
+ #read -n $CONTENT_LENGTH POST_DATA <&0
fi
# Translate parameters