Resolve #3569459 "Replace http with https"

Closes #3569459

Commands used:

First, searched for all files containing http://www.w3.org:

git grep -l "http://www.w3.org" | head -50

This returned ~50+ files, mostly SVG files and some CKEditor vendor JS.

Then filtered out the xmlns declarations (which are identifiers, not URLs, and should stay as http):

``git grep "http://www.w3.org" | grep -v "xmlns" | grep -v "2000/svg"


Result:

core/modules/link/src/AttributeXss.php: // @see http://www.w3.org/TR/html4/index/attributes.html Binary file (standard input) matches``

The binary file match is minified CKEditor JS (vendor files, not to be touched). Only one actual source file needed updating.

Fix applied:

bash

sed -i 's#http://www.w3.org/TR/#https://www.w3.org/TR/#g' core/modules/link/src/AttributeXss.php

Verification:

Ran core/scripts/dev/commit-code-check.sh - all checks passed.

Merge request reports

Loading