diff -Nru greenbone-security-assistant9-7.0.3/debian/changelog greenbone-security-assistant9-7.0.3/debian/changelog --- greenbone-security-assistant9-7.0.3/debian/changelog 2018-04-12 10:01:33.000000000 +0000 +++ greenbone-security-assistant9-7.0.3/debian/changelog 2018-04-25 12:01:26.000000000 +0000 @@ -1,3 +1,10 @@ +greenbone-security-assistant9 (7.0.3-3bionic) bionic; urgency=medium + + * Fix ALLOW_HEADER_HOST option in the default configuration file to + accept argument + + -- Mohammad Razavi Wed, 25 Apr 2018 16:31:26 +0430 + greenbone-security-assistant9 (7.0.3-2bionic) bionic; urgency=medium * Update dependencies for ubuntu bionic diff -Nru greenbone-security-assistant9-7.0.3/debian/openvas9-gsa.openvas-gsa.default greenbone-security-assistant9-7.0.3/debian/openvas9-gsa.openvas-gsa.default --- greenbone-security-assistant9-7.0.3/debian/openvas9-gsa.openvas-gsa.default 2018-04-12 10:01:33.000000000 +0000 +++ greenbone-security-assistant9-7.0.3/debian/openvas9-gsa.openvas-gsa.default 2018-04-25 12:01:26.000000000 +0000 @@ -14,7 +14,7 @@ # To allow as hostname/address part of a Host header: # -#ALLOW_HEADER_HOST=1 +#ALLOW_HEADER_HOST= # To set listening address: # diff -Nru greenbone-security-assistant9-7.0.3/debian/openvas9-gsa.openvas-gsa.init greenbone-security-assistant9-7.0.3/debian/openvas9-gsa.openvas-gsa.init --- greenbone-security-assistant9-7.0.3/debian/openvas9-gsa.openvas-gsa.init 2018-04-12 10:01:33.000000000 +0000 +++ greenbone-security-assistant9-7.0.3/debian/openvas9-gsa.openvas-gsa.init 2018-04-25 12:01:26.000000000 +0000 @@ -33,7 +33,7 @@ # Update DAEMON_ARGS with optional settings from /etc/default [ "$FOREGROUND" = "1" ] && DAEMON_ARGS="$DAEMON_ARGS --foreground" [ "$HTTP_ONLY" = "1" ] && DAEMON_ARGS="$DAEMON_ARGS --http-only" -[ "$ALLOW_HEADER_HOST" = "1" ] && DAEMON_ARGS="$DAEMON_ARGS --allow-header-host" +[ -n "$ALLOW_HEADER_HOST" ] && DAEMON_ARGS="$DAEMON_ARGS --allow-header-host=$ALLOW_HEADER_HOST" [ -n "$LISTEN_ADDRESS" ] && DAEMON_ARGS="$DAEMON_ARGS --listen=$LISTEN_ADDRESS" [ -n "$MANAGER_ADDRESS" ] && DAEMON_ARGS="$DAEMON_ARGS --mlisten=$MANAGER_ADDRESS" [ -n "$PORT_NUMBER" ] && DAEMON_ARGS="$DAEMON_ARGS --port=$PORT_NUMBER"