diff --git a/cloud_browser/views.py b/cloud_browser/views.py index 605b3d2..a1d6d8d 100644 --- a/cloud_browser/views.py +++ b/cloud_browser/views.py @@ -15,6 +15,11 @@ except ImportError: from importlib import import_module +try: + from urllib.parse import unquote_to_bytes as unquote +except ImportError: + from urllib import unquote + MAX_LIMIT = get_connection_cls().cont_cls.max_list @@ -106,6 +111,7 @@ def browser(request, path="", template="cloud_browser/browser.html"): from builtins import filter # Inputs. + path = unquote(path).decode("utf-8").replace("+", " ") container_path, object_path = path_parts(path) incoming = request.POST or request.GET or {} diff --git a/dev/pylint.cfg b/dev/pylint.cfg index 03201a4..f287392 100644 --- a/dev/pylint.cfg +++ b/dev/pylint.cfg @@ -3,6 +3,7 @@ disable = bad-continuation, duplicate-code, fixme, + import-outside-toplevel, missing-docstring, no-else-raise, no-else-return,