Use url[:scheme] instead of protocol to determine if https is enabled

2 jobs for fix-csp-upgrade-insecure-requests-check in 6 minutes and 26 seconds
Status Job ID Name Coverage
  Lint
passed #16590
lint

00:02:40

 
  Test
passed #16591
unit-testing

00:03:46