summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2010-07-25 13:16:55 -0500
committerRichard Nelson <unixabg@gmail.com>2010-07-25 13:16:55 -0500
commit33caa40265e444fe6ed9ba49a751ec393aaa5703 (patch)
tree3bb7518348a1c8e5218ef5f3a18dd516d43f158b /cgi
parentc4e71e497536559dba1663e84383b16260a4bd1b (diff)
downloadvyos-live-build-33caa40265e444fe6ed9ba49a751ec393aaa5703.tar.gz
vyos-live-build-33caa40265e444fe6ed9ba49a751ec393aaa5703.zip
Correct expression on l-b.cgi email field.
Diffstat (limited to 'cgi')
-rwxr-xr-xcgi/cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/cgi b/cgi/cgi
index 3153a27a0..8f0cbd359 100755
--- a/cgi/cgi
+++ b/cgi/cgi
@@ -58,7 +58,7 @@ else
# echo ${QUERY_STRING}
# Email
- _EMAIL=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])email=[0-9,a-z,A-Z,.,_,-,@]+' | cut -f 2 -d '=' | head -n1)
+ _EMAIL=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])email=[-0-9a-zA-Z._@]+' | cut -f 2 -d '=' | head -n1)
# Standard options
LH_BINARY_IMAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])binary_images=[-a-z]+' | cut -f 2 -d '=' | head -n1)