Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update search.cam.ac.uk URL to be https:// instead of http:// #99

Merged

Conversation

alt36
Copy link
Contributor

@alt36 alt36 commented Sep 27, 2017

If one's Drupal site uses https, Chrome (and possibly other browsers) refuse to
mark the page as "secure" because 'The page includes a form with a non-secure
action" attribute' - specifically, the search box. As of Chrome v62 (due for
release October 17th), using any element on a http:// site will lead
to a security warning, hence PL sites may well be aiming to switch to https://
before then.

If one's Drupal site uses https, Chrome (and possibly other browsers) refuse to
mark the page as "secure" because 'The page includes a form with a non-secure
action" attribute' - specifically, the search box. As of Chrome v62 (due for
release October 17th), using any <input> element on a http:// site will lead
to a security warning, hence PL sites may well be aiming to switch to https://
before then.
@timdavison
Copy link
Contributor

Would we be better just dropping the protocol ?

@alt36
Copy link
Contributor Author

alt36 commented Sep 27, 2017

http://search.cam.ac.uk auto-redirects to https://search.cam.ac.uk . The main reason for using protocol-relative URLs is when one wants to be able to use both http:// and https:// on the same site, but IMO when a site is https-only (as search.cam.ac.uk is) there's no benefit to PRURLs - and now that search.cam.ac.uk is https, they're unlikely to go back to http I'd have thought.

@timdavison
Copy link
Contributor

Fair enough. I was coming from a simpler is better point of view, but I've no strong feelings on it.

@timdavison timdavison merged commit 36a1d22 into misd-service-development:master Sep 27, 2017
@alt36 alt36 deleted the https-for-search.cam.ac.uk branch September 28, 2017 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants