From f449a0b13dd71b07e40fff5b089c7669ee695c30 Mon Sep 17 00:00:00 2001 From: Zahoor Mohamed Date: Sat, 24 Dec 2016 11:11:06 +0530 Subject: [PATCH] swarm: trouble loading manifest entries whose key ends in a slash '/' #3467 --- swarm/api/manifest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarm/api/manifest.go b/swarm/api/manifest.go index d6dc24c486..1d8df0d0b8 100644 --- a/swarm/api/manifest.go +++ b/swarm/api/manifest.go @@ -333,7 +333,7 @@ func RegularSlashes(path string) (res string) { } func (self *manifestTrie) getEntry(spath string) (entry *manifestTrieEntry, fullpath string) { - path := RegularSlashes(spath) + path := RegularSlashes(spath) + "/" var pos int quitC := make(chan bool) entry, pos = self.findPrefixOf(path, quitC)