Skip to content

fileserver: specify license for embedded JavaScript #7127

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

Merged
merged 1 commit into from
Jul 16, 2025

Conversation

infertux
Copy link
Contributor

This commit adds support for LibreJS.

LibreJS would block this embedded JavaScript because its license is not stated in a machine-readable format.

More info: https://www.gnu.org/software/librejs/free-your-javascript.html#magnet-link-license

This commit adds support for LibreJS (https://en.wikipedia.org/wiki/GNU_LibreJS).

LibreJS would block this embedded JavaScript because its license is not stated in a machine-readable format.

Signed-off-by: Cédric Félizard <[email protected]>
@CLAassistant
Copy link

CLAassistant commented Jul 15, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@mholt mholt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Does this need to be updated at all? In particular this part: magnet:?xt=urn:btih:8e4f440f4c65981c5bf93c76d35135ba5064d8b7 -- that's not a hash of the script contents is it?

@infertux
Copy link
Contributor Author

It's the hash of the Apache-2.0 license so it doesn't need updating. I got the hash from https://www.gnu.org/software/librejs/manual/html_node/Setting-Your-JavaScript-Free.html#License-tags.

@mholt mholt merged commit 790f3e0 into caddyserver:master Jul 16, 2025
23 checks passed
@mholt
Copy link
Member

mholt commented Jul 16, 2025

Sounds good. Thanks!

@infertux infertux deleted the librejs branch July 17, 2025 00:05
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.

4 participants