paru icon indicating copy to clipboard operation
paru copied to clipboard

fix: decompress packages.gz for completion cache

Open pfeifferj opened this issue 1 month ago • 3 comments

AUR changed how packages.gz is served to no longer include the Content-Encoding: gzip header, so HTTP clients no longer auto-decompress the response. This caused raw gzip binary data (including null bytes) to be written to the completion cache, resulting in bash warnings: "command substitution: ignored null byte in input"

Fixes: #1472, #1450

pfeifferj avatar Dec 19 '25 08:12 pfeifferj

related discussion: https://gitlab.archlinux.org/archlinux/aurweb/-/issues/546#note_364572

pfeifferj avatar Dec 19 '25 08:12 pfeifferj

Is this any different from #1449?

4yx avatar Dec 20 '25 00:12 4yx

oh I guess #1447 is a third duplicate issue for this that I missed

pfeifferj avatar Dec 20 '25 04:12 pfeifferj