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.
Hi
I found a lot of hardlinks in http:// instead of https:// in the metatags *.zip
Wouldn't that be better to made all http:// becoming https:// links ?
find . -name "*.*" -type f -exec sed -i "s/http/https/g" {} \;
should make the job, no ?
Comment | File | Size | Author |
---|---|---|---|
#4 | metatag-n3102582-4.patch | 22.03 KB | DamienMcKenna |
|
Comments
Comment #2
DamienMcKennaThanks for bringing this up. While I don't think an search/replace across the entire codebase would work as there are specific occasions where it does specifically need to work with "http://", it might be a good starting point and we could make some improvements to the patch from there.
Comment #3
dbourrion CreditAttribution: dbourrion commentedHi
You're right : I made that brutal search/replace since I suggest it, and it comes to crash my website, for the reasons you suggest ;)
Comment #4
DamienMcKennaI did a quick check through the D8 codebase and found a number of locations where it'd be fine to replace http:// with https://, so let's see what the testbot says.
Comment #5
DamienMcKennaCommitted. Thanks for the suggestion! I'll do a separate issue to backport the changes to D7.