From 3c87c41a400c8630b21d19c8a8513f12a0ad9a21 Mon Sep 17 00:00:00 2001 From: trk Date: Thu, 4 Mar 2021 02:39:57 +0600 Subject: Fix incorrect file URI scheme prefix For the correct file URI scheme specification, see RFC 8089 at https://tools.ietf.org/html/rfc8089. --- ranger/core/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger/core/main.py b/ranger/core/main.py index 15943fec..8bfb03e7 100644 --- a/ranger/core/main.py +++ b/ranger/core/main.py @@ -244,7 +244,7 @@ https://github.com/ranger/ranger/issues def get_paths(args): if args.paths: - prefix = 'file:///' + prefix = 'file://' prefix_length = len(prefix) paths = [path[prefix_length:] if path.startswith(prefix) else path for path in args.paths] else: -- cgit 1.4.1-2-gfad0