wok-stable diff busybox/stuff/httpd_helper.sh @ rev 7093

Removed 'echo tazwok cook' form glibmm receipt.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Nov 03 03:02:17 2010 +0000 (2010-11-03)
parents 8c1e893567be
children 0c9dab57bef3
line diff
     1.1 --- a/busybox/stuff/httpd_helper.sh	Fri Jun 04 17:12:30 2010 +0200
     1.2 +++ b/busybox/stuff/httpd_helper.sh	Wed Nov 03 03:02:17 2010 +0000
     1.3 @@ -9,7 +9,7 @@
     1.4  
     1.5  header()
     1.6  {
     1.7 -echo -e "$1\r"
     1.8 +[ -z "$1" ] && echo -e "Content-type: text/html\r\n" || echo -e "$1\r\n"
     1.9  }
    1.10  
    1.11  htmlentities()
    1.12 @@ -37,10 +37,12 @@
    1.13  local i
    1.14  local x
    1.15  for i in SERVER_PROTOCOL SERVER_SOFTWARE SERVER_NAME SERVER_PORT AUTH_TYPE \
    1.16 -	 GATEWAY_INTERFACE REMOTE_ADDR REMOTE_PORT HTTP_REFERER HTTP_HOST \
    1.17 -	 HTTP_USER_AGENT HTTP_ACCEPT HTTP_ACCEPT_LANGUAGE HTTP_COOKIE \
    1.18 +	 GATEWAY_INTERFACE REMOTE_HOST REMOTE_ADDR REMOTE_PORT \
    1.19 +	 HTTP_REFERER HTTP_HOST HTTP_USER_AGENT HTTP_ACCEPT \
    1.20 +	 HTTP_ACCEPT_LANGUAGE HTTP_COOKIE AUTH_TYPE REMOTE_USER REMOTE_IDENT \
    1.21  	 REQUEST_METHOD REQUEST_URI QUERY_STRING CONTENT_LENGTH CONTENT_TYPE \
    1.22 -	 SCRIPT_NAME SCRIPT_FILENAME PATH_INFO USER HOME LOGNAME SHELL PWD ; do
    1.23 +	 SCRIPT_NAME SCRIPT_FILENAME PATH_INFO PATH_TRANSLATED \
    1.24 +	 USER HOME LOGNAME SHELL PWD ; do
    1.25  	eval x=\$$i
    1.26  	[ -n "$x" ] && echo "$i='$x'"
    1.27  done