[Pkg-javascript-devel] Bug#979996: libjs-jquery: please use the default extension for precompressed brotli files

Jonas Smedegaard jonas at jones.dk
Tue Jan 12 19:19:18 GMT 2021


Control: tags -1 +wontfix

Hi Guilhem,

Quoting Guilhem Moulin (2021-01-12 18:42:39)
> Package: libjs-jquery
> Version: 3.5.1+dfsg+~3.5.5-5
> Severity: normal
> 
> Dear Maintainer,
> 
> The brotli suffix was changed from .br to .brotli in
> 3.5.1+dfsg+~3.5.4-3:
> 
>     https://salsa.debian.org/js-team/node-jquery/-/commit/2c27f2b80e89dc4fb051cb7081ad464643316a9d
> 
> The .br suffix is hardcoded in ngx_http_brotli_static_module (granted 
> ngx_brotli is not in Debian at the moment, #919320) — just like .gz is 
> hardcoded in ngx_http_gzip_static_module — so the precompressed 
> .brotli resources aren't usable by Nginx.
> 
> Given .br is the default suffix for brotli files, please consider 
> reverting the above change, or at least providing compatibility 
> symlinks.

I think you (and nginx?) are mistaken: The officially registered meaning 
for file suffix .br is the language breton.

The confusion probably stems from the (officially registered, I guess) 
content-encoding type 'br' which indeed is brotli.


I introduced the brotli-compressed files with extension .br but changed 
that when I realized my mistake.

Until that clash with language code is resolved (if ever) I think it is 
wrong to change back, and I therefore flag this as wontfix.


See also related bug#972632 from when I realized my mistake.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20210112/88006366/attachment.sig>


More information about the Pkg-javascript-devel mailing list