You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2018/10/13 16:44:05 UTC
[openmeetings] branch master updated: [OPENMEETINGS-1955] uri
creation is changed to have file:// as prefix
This is an automated email from the ASF dual-hosted git repository.
solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git
The following commit(s) were added to refs/heads/master by this push:
new 598ad12 [OPENMEETINGS-1955] uri creation is changed to have file:// as prefix
598ad12 is described below
commit 598ad12efb136f65d9c93ae3a42ecf4ff5a6690a
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Sat Oct 13 23:43:53 2018 +0700
[OPENMEETINGS-1955] uri creation is changed to have file:// as prefix
---
.../src/main/java/org/apache/openmeetings/util/OmFileHelper.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/openmeetings-util/src/main/java/org/apache/openmeetings/util/OmFileHelper.java b/openmeetings-util/src/main/java/org/apache/openmeetings/util/OmFileHelper.java
index de7508b..ef3bdfa 100644
--- a/openmeetings-util/src/main/java/org/apache/openmeetings/util/OmFileHelper.java
+++ b/openmeetings-util/src/main/java/org/apache/openmeetings/util/OmFileHelper.java
@@ -203,7 +203,7 @@ public class OmFileHelper {
}
public static String getRecUri(File f) throws IOException {
- String uri = f.getCanonicalFile().toURI().toString();
+ String uri = String.format("file://", f.getCanonicalPath());
log.info("Configured to record to {}", uri);
return uri;
}