From 670d911a0d7c009738aafa3d616d01c4aaac532a Mon Sep 17 00:00:00 2001 From: yan Date: Thu, 16 Feb 2017 23:17:06 +0000 Subject: [PATCH] change links to HTTPS when possible fix https://github.com/brave/browser-laptop/issues/7297 Auditors: @bbondy Test Plan: 1. open new tab 2. click on photographer link 3. it should open the photographer's website over HTTPS --- js/constants/config.js | 2 +- js/data/backgrounds.js | 40 ++++++++++++++++++++-------------------- tools/cibuild.py | 2 +- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/js/constants/config.js b/js/constants/config.js index 952538ebeac..be688f45bea 100644 --- a/js/constants/config.js +++ b/js/constants/config.js @@ -56,7 +56,7 @@ module.exports = { name: 'Bay Bridge', source: 'img/newtab_stock_image.jpg', author: 'Darrell Sano', - link: 'http://dksfoto.smugmug.com' + link: 'https://dksfoto.smugmug.com' } } } diff --git a/js/data/backgrounds.js b/js/data/backgrounds.js index 4e5aa43afbf..e6b61fb82f5 100644 --- a/js/data/backgrounds.js +++ b/js/data/backgrounds.js @@ -7,101 +7,101 @@ module.exports = [ "name": "Tuolome Meadows", "source": "https://s3.amazonaws.com/brave-backgrounds/dksfoto1.jpg", "author": "Darrell Sano", - "link": "http://dksfoto.smugmug.com" + "link": "https://dksfoto.smugmug.com" }, { "name": "South Tufa, Mono Lake", "source": "https://s3.amazonaws.com/brave-backgrounds/dksfoto2.jpg", "author": "Darrell Sano", - "link": "http://dksfoto.smugmug.com" + "link": "https://dksfoto.smugmug.com" }, { "name": "Little Lakes Valley", "source": "https://s3.amazonaws.com/brave-backgrounds/dksfoto3.jpg", "author": "Darrell Sano", - "link": "http://dksfoto.smugmug.com" + "link": "https://dksfoto.smugmug.com" }, { "name": "Bay Bridge", "source": "https://s3.amazonaws.com/brave-backgrounds/dksfoto4.jpg", "author": "Darrell Sano", - "link": "http://dksfoto.smugmug.com" + "link": "https://dksfoto.smugmug.com" }, { "name": "Yosemite", "source": "https://s3.amazonaws.com/brave-backgrounds/dksfoto5.jpg", "author": "Darrell Sano", - "link": "http://dksfoto.smugmug.com" + "link": "https://dksfoto.smugmug.com" }, { "name": "Beach Ice", "source": "https://s3.amazonaws.com/brave-backgrounds/dksfoto6.jpg", "author": "Darrell Sano", - "link": "http://dksfoto.smugmug.com" + "link": "https://dksfoto.smugmug.com" }, { "name": "Color and White Trunks", "source": "https://s3.amazonaws.com/brave-backgrounds/dksfoto7.jpg", "author": "Darrell Sano", - "link": "http://dksfoto.smugmug.com" + "link": "https://dksfoto.smugmug.com" }, { "name": "Golden Gate Bridge", "source": "https://s3.amazonaws.com/brave-backgrounds/dksfoto8.jpg", "author": "Darrell Sano", - "link": "http://dksfoto.smugmug.com" + "link": "https://dksfoto.smugmug.com" }, { "name": "Long Lake", "source": "https://s3.amazonaws.com/brave-backgrounds/dksfoto9.jpg", "author": "Darrell Sano", - "link": "http://dksfoto.smugmug.com" + "link": "https://dksfoto.smugmug.com" }, { "name": "San Francisco Skyline", "source": "https://s3.amazonaws.com/brave-backgrounds/dksfoto10.jpg", "author": "Darrell Sano", - "link": "http://dksfoto.smugmug.com" + "link": "https://dksfoto.smugmug.com" }, { "name": "Across Mono Basin", "source": "https://s3.amazonaws.com/brave-backgrounds/dksfoto11.jpg", "author": "Darrell Sano", - "link": "http://dksfoto.smugmug.com" + "link": "https://dksfoto.smugmug.com" }, { "name": "Corsica", "source": "https://s3.amazonaws.com/brave-backgrounds/Phoyoserge_Corsica.jpg", "author": "Serge Ramelli", - "link": "http://www.photoserge.com/" + "link": "https://www.photoserge.com/" }, { "name": "Corsica", "source": "https://s3.amazonaws.com/brave-backgrounds/Phoyoserge_Corsica2.jpg", "author": "Serge Ramelli", - "link": "http://www.photoserge.com/" + "link": "https://www.photoserge.com/" }, { "name": "Downtown Griffith", "source": "https://s3.amazonaws.com/brave-backgrounds/Phoyoserge_DowntownGriffith.jpg", "author": "Serge Ramelli", - "link": "http://www.photoserge.com/" + "link": "https://www.photoserge.com/" }, { "name": "Elmatador Beach", "source": "https://s3.amazonaws.com/brave-backgrounds/Phoyoserge_ElmatadorBeach.jpg", "author": "Serge Ramelli", - "link": "http://www.photoserge.com/" + "link": "https://www.photoserge.com/" }, { "name": "Paris:Conciergeri", "source": "https://s3.amazonaws.com/brave-backgrounds/Phoyoserge_ParisConciergeri.jpg", "author": "Serge Ramelli", - "link": "http://www.photoserge.com/" + "link": "https://www.photoserge.com/" }, { "name": "Paris:The Roof", "source": "https://s3.amazonaws.com/brave-backgrounds/Phoyoserge_Theroofparis.jpg", "author": "Serge Ramelli", - "link": "http://www.photoserge.com/" + "link": "https://www.photoserge.com/" }, { "name": "Paris:The Seant", "source": "https://s3.amazonaws.com/brave-backgrounds/Phoyoserge_TheSeantParis.jpg", "author": "Serge Ramelli", - "link": "http://www.photoserge.com/" + "link": "https://www.photoserge.com/" }, { "name": "Venise Sunset", "source": "https://s3.amazonaws.com/brave-backgrounds/Phoyoserge_VeniseSunset.jpg", "author": "Serge Ramelli", - "link": "http://www.photoserge.com/" + "link": "https://www.photoserge.com/" }, { "name": "Yosemite", "source": "https://s3.amazonaws.com/brave-backgrounds/Phoyoserge_Yosemite.jpg", "author": "Serge Ramelli", - "link": "http://www.photoserge.com/" + "link": "https://www.photoserge.com/" } ] diff --git a/tools/cibuild.py b/tools/cibuild.py index a894e829622..bdce0d3c6d4 100755 --- a/tools/cibuild.py +++ b/tools/cibuild.py @@ -26,7 +26,7 @@ def write_npmrc(): 'target = %s\n' \ 'target_arch = %s\n' \ 'brave_electron_version = %s\n' \ - 'disturl = http://brave-laptop-binaries.s3.amazonaws.com/atom-shell/dist\n' % (MUON_VERSION, TARGET_ARCH, MUON_VERSION) + 'disturl = https://brave-laptop-binaries.s3.amazonaws.com/atom-shell/dist\n' % (MUON_VERSION, TARGET_ARCH, MUON_VERSION) f = open('.npmrc','wb') f.write(data) f.close()