Skip to content

fileserver: specify license for embedded JavaScript#7127

Merged
mholt merged 1 commit intocaddyserver:masterfrom
infertux:librejs
Jul 16, 2025
Merged

fileserver: specify license for embedded JavaScript#7127
mholt merged 1 commit intocaddyserver:masterfrom
infertux:librejs

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 <cedric@felizard.fr>
@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
@francislavoie francislavoie added this to the v2.10.1 milestone Aug 22, 2025
mohammed90 pushed a commit to cedricziel/caddy that referenced this pull request Aug 29, 2025
…server#7127)

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 <cedric@felizard.fr>
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.

5 participants