summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2010-06-22 22:42:45 -0500
committerRichard Nelson <unixabg@gmail.com>2010-06-22 22:42:45 -0500
commitc059f63ceea0d955db68c2f2cd8abc0f10f2ae0b (patch)
tree18eae54d69516a7d6a205c9e6384cb8c066ea861
parent51653cbc80cc74928b4b2060752e11fcf5127ed1 (diff)
downloadvyos-live-build-c059f63ceea0d955db68c2f2cd8abc0f10f2ae0b.tar.gz
vyos-live-build-c059f63ceea0d955db68c2f2cd8abc0f10f2ae0b.zip
LH_NET_ROOT_SERVER expression cleanup.
-rwxr-xr-xcgi/cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/cgi b/cgi/cgi
index 7c314d2e5..3472a628f 100755
--- a/cgi/cgi
+++ b/cgi/cgi
@@ -91,7 +91,7 @@ else
LH_ISO_VOLUME=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_volume=[-0-9a-zA-Z. ~;:/_]+' | cut -f 2 -d '=' | head -n1)
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,a-z,A-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)
# Advanced source options