diff options
author | Richard Nelson <unixabg@gmail.com> | 2010-06-22 22:55:26 -0500 |
---|---|---|
committer | Richard Nelson <unixabg@gmail.com> | 2010-06-22 22:55:26 -0500 |
commit | 837533dd8ca08ddb975b144c7df3c50e48b01ace (patch) | |
tree | 800281cc8d742c20836264e5a9bd143de6cb8be5 | |
parent | bd49510299bd12836cabbe2b7225478a842d7c28 (diff) | |
download | vyos-live-build-837533dd8ca08ddb975b144c7df3c50e48b01ace.tar.gz vyos-live-build-837533dd8ca08ddb975b144c7df3c50e48b01ace.zip |
_CUSTOM_BOOTSTRAP and _CUSTOM_BINARY expression cleanup.
-rwxr-xr-x | cgi/cgi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -99,8 +99,8 @@ else LH_SOURCE_IMAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])source_images=[a-z]+' | cut -f 2 -d '=' | head -n1) # Unofficial options - _CUSTOM_BOOTSTRAP=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])custom_bootstrap=[0-9,a-z,A-Z,., ,~,;,:,/,_,-]+' | cut -f 2 -d '=' | head -n1) - _CUSTOM_BINARY=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])custom_binary=[0-9,a-z,A-Z,., ,~,;,:,/,_,-]+' | cut -f 2 -d '=' | head -n1) + _CUSTOM_BOOTSTRAP=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])custom_bootstrap=[-0-9a-zA-Z.~:/_]+' | cut -f 2 -d '=' | head -n1) + _CUSTOM_BINARY=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])custom_binary=[-0-9a-zA-Z.~:/_]+' | cut -f 2 -d '=' | head -n1) # FIXME: filter invalid options unset QUERY_STRING |