From 445d44c3e172e785414f3109a1f6951ed0fb7320 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 3 Jun 2023 19:03:02 +0200 Subject: [PATCH] packages/ipfs: remove ipfs-unsafe-allow-all-paths-for-filestore.patch --- ...ipfs-unsafe-allow-all-paths-for-filestore.patch | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 patches/base/ipfs/ipfs-unsafe-allow-all-paths-for-filestore.patch diff --git a/patches/base/ipfs/ipfs-unsafe-allow-all-paths-for-filestore.patch b/patches/base/ipfs/ipfs-unsafe-allow-all-paths-for-filestore.patch deleted file mode 100644 index 77e7773..0000000 --- a/patches/base/ipfs/ipfs-unsafe-allow-all-paths-for-filestore.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/vendor/github.com/ipfs/go-filestore/fsrefstore.go b/vendor/github.com/ipfs/go-filestore/fsrefstore.go -index 9eb2c43..43e336c 100644 ---- a/vendor/github.com/ipfs/go-filestore/fsrefstore.go -+++ b/vendor/github.com/ipfs/go-filestore/fsrefstore.go -@@ -291,9 +291,6 @@ func (f *FileManager) putTo(ctx context.Context, b *posinfo.FilestoreNode, to pu - return ErrFilestoreNotEnabled - } - //lint:ignore SA1019 // ignore staticcheck -- if !filepath.HasPrefix(b.PosInfo.FullPath, f.root) { -- return fmt.Errorf("cannot add filestore references outside ipfs root (%s)", f.root) -- } - - p, err := filepath.Rel(f.root, b.PosInfo.FullPath) - if err != nil {