From 0bc868a8190fa1caf7e753c94062321749fbf8d3 Mon Sep 17 00:00:00 2001 From: luccioman Date: Wed, 12 Apr 2017 09:23:10 +0200 Subject: [PATCH] Improved support for non ASCII chars in local file system URLs Creating a MultiProtocolURL instance from a File object and then retrieving a File with getFSFile() was inconsistent with file paths containing space or non ASCII chars. --- .../cora/document/id/MultiProtocolURL.java | 2 +- .../document/id/MultiProtocolURLTest.java | 29 ++++++++++++++++++- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/source/net/yacy/cora/document/id/MultiProtocolURL.java b/source/net/yacy/cora/document/id/MultiProtocolURL.java index b0cf9c7dd..098308a59 100644 --- a/source/net/yacy/cora/document/id/MultiProtocolURL.java +++ b/source/net/yacy/cora/document/id/MultiProtocolURL.java @@ -2147,7 +2147,7 @@ public class MultiProtocolURL implements Serializable, Comparable