summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2010-06-22 22:52:41 -0500
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:12 +0100
commit1a31885b051c3a7c5c0fda13a4a047f54e5041c5 (patch)
tree24862fe979c27b892a5a5547223523c06f56a4b6 /cgi
parenta1951fac411a429bc00bbe3f9265be4c0ec8e319 (diff)
downloadlive-build-1a31885b051c3a7c5c0fda13a4a047f54e5041c5.zip
live-build-1a31885b051c3a7c5c0fda13a4a047f54e5041c5.tar.gz
LH_USERNAME expression cleanup and build output cleanup.
Diffstat (limited to 'cgi')
-rwxr-xr-xcgi/cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/cgi b/cgi/cgi
index 3472a62..58eae9d 100755
--- a/cgi/cgi
+++ b/cgi/cgi
@@ -92,7 +92,7 @@ else
LH_MEMTEST=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])memtest=[0-9a-z+]+' | cut -f 2 -d '=' | head -n1)
LH_NET_ROOT_PATH=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])net_path=[-0-9a-zA-Z._/]+' | cut -f 2 -d '=' | head -n1)
LH_NET_ROOT_SERVER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])net_server=[0-9.]+' | cut -f 2 -d '=' | head -n1)
- LH_USERNAME=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])username=[0-9,a-z,A-Z,.,-]+' | cut -f 2 -d '=' | head -n1)
+ LH_USERNAME=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])username=[-0-9a-zA-Z.]+' | cut -f 2 -d '=' | head -n1)
# Advanced source options
LH_SOURCE=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])source=[a-z]+' | cut -f 2 -d '=' | head -n1)