Use of non-canonical license URIs #286
Labels
💻 aspect: code
Concerns the software code in the repository
🛠 goal: fix
Bug fix
🟩 priority: low
Low priority and doesn't need to be rushed
🏁 status: ready for work
Ready for work
Description
The canonical URIs of the CC licenses all start with
http://
, as can be verified by the RDF source of truth. The scheme is part of the URI, so there's a semantic difference betweenhttp://creativecommons.org/licenses/by/4.0/
andhttps://creativecommons.org/licenses/by/4.0/
.Browsers tend to prefer the HTTPS version of a site anyways (Firefox: HTTPS-Only Mode, Chromium: upgraded HTTPS navigations), so this is increasingly unlikely to be a security/privacy issue.
Reproduction
See e.g. here, where additionally
chooserRef
is appended:chooser/src/utils/license-utilities.js
Lines 62 to 79 in 21cde4b
Or here, where also a trailing slash is missing:
chooser/src/utils/licenses.js
Line 31 in d61ff90
Other instances are
tests/unit/specs/components/LicenseHTML.spec.js
andtests/e2e/specs/LicenseDetailsCard.js
.Expectation
Use the license URIs from the RDF datastore at cc.licenserdf.
Additional context
There are two ongoing discussions about making canonical URIs more prominent at other places:
The text was updated successfully, but these errors were encountered: