summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-02-01 21:00:57 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:33 +0100
commitada0bb07e7f94851e806b8589307edb849735492 (patch)
tree68684fc01243ca626da06a7a9a359d41535f1b40 /cgi
parent804b9c9d66b38c7c84a5a96bcf2c989502774c77 (diff)
downloadlive-build-ada0bb07e7f94851e806b8589307edb849735492.zip
live-build-ada0bb07e7f94851e806b8589307edb849735492.tar.gz
Account for the + character in packages for l-b.cgi
Diffstat (limited to 'cgi')
-rwxr-xr-xcgi/cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/cgi b/cgi/cgi
index 28d0084..a55cbc5 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_PACKAGES_LISTS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])packages_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_ARCHITECTURE=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])architecture=[0-9a-z]+' | cut -f 2 -d '=' | head -n1)