From e72a9675c710cb65cda9b259673f68a6e33c59e8 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 13 Jun 2012 09:45:39 +0200 Subject: [PATCH] make copy and pase of oshash from filesystem easier --- pandora/archive/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora/archive/views.py b/pandora/archive/views.py index 74c2cdd3..000e5857 100644 --- a/pandora/archive/views.py +++ b/pandora/archive/views.py @@ -431,6 +431,7 @@ actions.register(removeFiles, cache=False) def lookup_file(request, oshash): + oshash = oshash.replace('/', '') f = get_object_or_404(models.File, oshash=oshash) return redirect(f.item.get_absolute_url())