SERVER_PROTOCOL="${SERVER_PROTOCOL%${CR}}"
PATH_INFO="$(HEX_DECODE % "${REQUEST_URI%\?*}" |PATH)"
- PATH_INFO="$(PATH "/${PATH_INFO#${_BASE}}")"
[ "${REQUEST_URI}" = "${REQUEST_URI#*\?}" ] \
&& QUERY_STRING='' \
|| QUERY_STRING="${REQUEST_URI#*\?}"
cgilite_post="$(head -c "$CONTENT_LENGTH")"
fi
+PATH_INFO="$(PATH "/${PATH_INFO#${_BASE}}")"
+
debug(){ [ $# -gt 0 ] && printf '%s\n' "$@" >&2 || tee -a /dev/stderr; }
[ "${DEBUG+x}" ] && env >&2