Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The protocol given in the user-facing links at system.install should be https instead of http.
Steps to reproduce
Proposed resolution
Change http to https and drupal.org to www.drupal.org
Remaining tasks
Patch
Review
Create a followup, unless there already is one, to add a coding standard to ensure all links to drupal.org are https. See #8.
Commit
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#16 | 3002983-10.patch | 1.67 KB | quietone |
#10 | 3002983-10.patch | 1.67 KB | subson |
#6 | drupalorg-convert-http-to-https-3002983-drupal8.patch | 1.59 KB | sahal_va |
#2 | drupalorg-convert-http-to-https-3002983-drupal7.patch | 1.59 KB | sahal_va |
Comments
Comment #2
sahal_va CreditAttribution: sahal_va commentedCreated the patch for the above issue. Please review and mention if any more changes are to be made. Thank you.
Comment #3
sahal_va CreditAttribution: sahal_va commentedComment #5
sahal_va CreditAttribution: sahal_va commentedComment #6
sahal_va CreditAttribution: sahal_va commentedCreated the patch for the above issue.
Comment #7
drummLooks good to me.
Comment #8
alexpottThese should be
https://www.drupal.org/node/...
- the www. will avoid an unnecessary redirect for users and as we're updating the links here makes sense.I reviewed the codebase for other http:://drupal.org links - there are some in the drupal7 db dump for migration testing so we should leave them alone and some in the migrate tests which I think should also be left alone. There's one in a code comment
// @todo Move to storage http://drupal.org/node/1988712
that could be updated but I'd prefer to open a follow-up to add some form of coding standard to ensure all links to drupal.org are https.Comment #10
subson CreditAttribution: subson as a volunteer commentedre-rolling the patch with https://www.drupal.org links
Comment #14
quietone CreditAttribution: quietone as a volunteer commentedThat link was updated in #2830239: Several URLs point to Drupal 7 documentation pages instead of Drupal 8 but the http did not get changed to https as is listed in the proposed resolution of that issue. As far as I can tell, it was a simple oversight.
And testing with 9.2.x
Comment #15
quietone CreditAttribution: quietone as a volunteer commentedThe patch in #10 looks good. The scheme is now https and the www. has been added. The remaining occurrences are in tests or the migration test fixture for Drupal 7.
Comment #16
quietone CreditAttribution: quietone as a volunteer commentedRe-uploading the patch so it tests with 9.2.x.
Comment #18
catchCommitted 22f7f46 and pushed to 9.2.x. Thanks!