]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(zip): Opening a remote zipfile don't work
authorDamien <141588647+xrandomname@users.noreply.github.com>
Tue, 30 Jul 2024 17:14:35 +0000 (19:14 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 30 Jul 2024 17:14:35 +0000 (19:14 +0200)
commitc4be066817d560c870f67f1593630cfb5b39dfc8
tree4a0d5c7bfddc3abab952ef17c5193c660f405cb7
parente6471b415b6b56f89624e6e0a6b7a17502109d0c
runtime(zip): Opening a remote zipfile don't work

Problem:  Opening a zipfile from HTTP gives an empty buffer.
Solution: Ensure that the magic bytes check does not
          skip protocol processing.

Also use readblob() and remove commented out lines.

closes: #15396

Signed-off-by: Damien <141588647+xrandomname@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/autoload/zip.vim