Fixed on bug in matching for http/https

This commit is contained in:
Fred Dixon 2016-02-28 18:58:25 -05:00
parent 07bdba35e2
commit 1f7023cd06

View File

@ -753,7 +753,7 @@ check_configuration() {
echo
fi
API_IP=$(cat ${SERVLET_DIR}/demo/bbb_api_conf.jsp | grep -v '^//' | sed -n '/String BigBlueButtonURL/{s/.*http[s]:\/\///;s/\/.*//;p}' | tr -d '\015')
API_IP=$(cat ${SERVLET_DIR}/demo/bbb_api_conf.jsp | grep -v '^//' | sed -n '/String BigBlueButtonURL/{s/.*http[s]*:\/\///;s/\/.*//;p}' | tr -d '\015')
if [ "$IP" != "$API_IP" ]; then
echo "# Warning: API URL IPs do not match host:"
echo "#"