bazel
bazel copied to clipboard
Symlinks in zip archives are incorrectly rejected
Description of the problem / feature request:
If an http_archive pulls in a zip that contains a relative symlink (a/b/c points to ../d/e), Bazel rejects it outright ("Zip entries cannot refer to files outside of their directory").
What operating system are you running Bazel on?
Debian.
What's the output of bazel info release?
release 0.9.0
Have you found anything relevant by searching the web?
https://github.com/bazelbuild/bazel/blob/a729b9b4c3d7844a7d44934bf3365f92633c0a60/src/main/java/com/google/devtools/build/lib/bazel/repository/ZipDecompressor.java#L103 contains the overzealous check.
Fixed somewhere at or before 0.11.1.