2021-01-14 23:31:51 +11:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-01-14 23:49:46 +11:00
|
|
|
printf "%s %s: cgi_test\r\n" "20 text/plain"
|
|
|
|
|
2021-01-14 23:31:51 +11:00
|
|
|
u=""
|
|
|
|
if [ -n "${QUERY_STRING}" ]; then
|
|
|
|
u="$(printf "%s" "${QUERY_STRING}" | cut -d'=' -f2)" #yeah, it's awful..
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo "hello $u"
|