Download JQuery over HTTPS

Otherwise anyone can MITM the connection and add rogue code there.
pull/3027/head
rugk 2016-07-23 16:59:47 +02:00 committed by GitHub
parent 5ed9f2736a
commit f4bbe00322
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ if [ -f "src/static/js/jquery.js" ]; then
fi fi
if [ $DOWNLOAD_JQUERY = "true" ]; then if [ $DOWNLOAD_JQUERY = "true" ]; then
curl -lo src/static/js/jquery.js http://code.jquery.com/jquery-$NEEDED_VERSION.js || exit 1 curl -lo src/static/js/jquery.js https://code.jquery.com/jquery-$NEEDED_VERSION.js || exit 1
fi fi
#Remove all minified data to force node creating it new #Remove all minified data to force node creating it new