From 23203d472ee7c6c9af8791d825a269d9bceb2fb5 Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Fri, 22 Feb 2019 17:23:46 +0000 Subject: [PATCH] utils: Fix crash in filename_from_uri() Introduced by commit 27843d0bd48b872f81da854e5d11d391ff856595. --- src/utils.rs | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index 7521abb3..69767db6 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -142,7 +142,7 @@ pub fn filename_from_uri(uri: &str) -> Result<(std::path::PathBuf, Option