summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2010-06-22 22:42:45 -0500
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:12 +0100
commita1951fac411a429bc00bbe3f9265be4c0ec8e319 (patch)
tree18eae54d69516a7d6a205c9e6384cb8c066ea861 /cgi
parentb9b087c4f6c150f260e47347a2995fa84ae0a791 (diff)
downloadvyos-live-build-a1951fac411a429bc00bbe3f9265be4c0ec8e319.tar.gz
vyos-live-build-a1951fac411a429bc00bbe3f9265be4c0ec8e319.zip
LH_NET_ROOT_SERVER expression 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 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