summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2010-06-22 22:27:28 -0500
committerRichard Nelson <unixabg@gmail.com>2010-06-22 22:27:28 -0500
commitd583e9063ee0b2c698e7a3366c33655fe36a7e6f (patch)
tree7dc87903808e88e8497167f3c5f85926252ac78d
parent682fac1e558607afe555ce5cdd5285250f5d4d8b (diff)
downloadvyos-live-build-d583e9063ee0b2c698e7a3366c33655fe36a7e6f.tar.gz
vyos-live-build-d583e9063ee0b2c698e7a3366c33655fe36a7e6f.zip
LH_ISO_APPLICATION expression cleanup.
-rwxr-xr-xcgi/cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/cgi b/cgi/cgi
index 0c8b7beca..0bb4c0070 100755
--- a/cgi/cgi
+++ b/cgi/cgi
@@ -84,7 +84,7 @@ else
LH_DEBIAN_INSTALLER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])debian_installer=[a-z]+' | cut -f 2 -d '=' | head -n1)
LH_ENCRYPTION=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])encryption=[0-9a-z]+' | cut -f 2 -d '=' | head -n1)
LH_HOSTNAME=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])hostname=[-0-9a-zA-Z.]+' | cut -f 2 -d '=' | head -n1)
- LH_ISO_APPLICATION=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_application=[0-9,a-z,A-Z,., ,~,;,:,/,_,-]+' | cut -f 2 -d '=' | head -n1)
+ LH_ISO_APPLICATION=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_application=[-0-9a-zA-Z. ~;:/_]+' | cut -f 2 -d '=' | head -n1)
LH_ISO_PREPARER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_preparer=[0-9,a-z,A-Z,., ,~,;,:,/,_,-]+' | cut -f 2 -d '=' | head -n1)
LH_ISO_PUBLISHER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_publisher=[0-9,a-z,A-Z,., ,~,;,:,/,_,/,-]+' | cut -f 2 -d '=' | head -n1)
LH_ISO_VOLUME=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_volume=[0-9,a-z,A-Z,., ,~,;,:,/,_,-]+' | cut -f 2 -d '=' | head -n1)