summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2010-07-25 13:16:55 -0500
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:15 +0100
commitcec0f2a8335157fec8dcc3d42cac0d5ea4e8c5bf (patch)
tree3bb7518348a1c8e5218ef5f3a18dd516d43f158b /cgi
parent9b1f1c895e43fb1cfb9c478f0f7c16e89749859f (diff)
downloadlive-build-cec0f2a8335157fec8dcc3d42cac0d5ea4e8c5bf.zip
live-build-cec0f2a8335157fec8dcc3d42cac0d5ea4e8c5bf.tar.gz
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 3153a27..8f0cbd3 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)