Closed (fixed)
Project:
Google Programmable Search Engine
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Aug 2017 at 12:04 UTC
Updated:
17 Apr 2019 at 14:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
asrobAttached a small patch to change from http to https.
Comment #3
afinnarn commentedHey @asrob, thanks for the patch!
Can you try to make the link protocol relative? I've seen mixed advice about that being best practice or being an anti-pattern, but the opposite would be true if you change to HTTPS and visit your site in HTTP mode. For this resource, I don't think security is much of a concern if it is fetched over HTTP sometimes.
Comment #4
afinnarn commentedComment #5
rromore commentedAttaching a patch which determines the correct protocol to use.
Comment #6
rromore commentedComment #7
twfahey commentedAwesome work, @rromore. We will be incorporating your work here in a related issue - https://www.drupal.org/project/google_cse/issues/2948111, will be sure to get you credit for the fix.
Comment #9
twfahey commentedComment #10
twfahey commented