From e9375ac9b0dbd5e9c5e19f0d2779dd94385b0040 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 14 Mar 2014 10:43:20 +0100 Subject: bufix: convert relativ path to absolut path --- common/src/main/java/at/gv/egovernment/moa/util/FileUtils.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/src/main/java/at/gv/egovernment/moa') diff --git a/common/src/main/java/at/gv/egovernment/moa/util/FileUtils.java b/common/src/main/java/at/gv/egovernment/moa/util/FileUtils.java index cac179a75..ff22c7313 100644 --- a/common/src/main/java/at/gv/egovernment/moa/util/FileUtils.java +++ b/common/src/main/java/at/gv/egovernment/moa/util/FileUtils.java @@ -133,7 +133,8 @@ public class FileUtils { keyFile = new File(url); if (!keyFile.isAbsolute()) { keyFile = new File(root, url); - newURL = keyFile.getPath(); + newURL = keyFile.toURI().toString(); + } return newURL; } -- cgit v1.2.3