summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2011-01-27 17:22:00 -0600
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:20:42 +0100
commit2c02bc434350579b8250f85f179b51e31349cc08 (patch)
tree68c6fc77fc6ae4d5b3f755b6bc1833ca5aba4c93
parent423ebf8f220427149de5e786938eb404b854f1c2 (diff)
downloadvyos-live-build-2c02bc434350579b8250f85f179b51e31349cc08.tar.gz
vyos-live-build-2c02bc434350579b8250f85f179b51e31349cc08.zip
Account for the + character in packages for l-b.cgi
-rwxr-xr-xcgi/cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/cgi b/cgi/cgi
index 590d2646b..d03cedb44 100755
--- a/cgi/cgi
+++ b/cgi/cgi
@@ -66,7 +66,7 @@ else
LB_DISTRIBUTION=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])distribution=[a-z]+' | cut -f 2 -d '=' | head -n1)
LB_PACKAGE_LISTS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])package_lists=[-0-9a-z]+' | cut -f 2 -d '=' | head -n1)
LB_TASKS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])tasks=[-0-9a-zA-Z. _]+' | cut -f 2 -d '=' | head -n1)
- LB_PACKAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])packages=[-0-9a-zA-Z. _]+' | cut -f 2 -d '=' | head -n1)
+ LB_PACKAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])packages=[-0-9a-zA-Z. _+]+' | cut -f 2 -d '=' | head -n1)
# Advanced bootstrap options
LB_ARCHITECTURES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])architectures=[0-9a-z]+' | cut -f 2 -d '=' | head -n1)