From bd49510299bd12836cabbe2b7225478a842d7c28 Mon Sep 17 00:00:00 2001
From: Richard Nelson <unixabg@gmail.com>
Date: Tue, 22 Jun 2010 22:52:41 -0500
Subject: LH_USERNAME expression cleanup and build output cleanup.

---
 cgi/cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'cgi')

diff --git a/cgi/cgi b/cgi/cgi
index 3472a628f..58eae9ddd 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)
-- 
cgit v1.2.3