aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xjs/io/system/coreioapi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/io/system/coreioapi.js b/js/io/system/coreioapi.js
index 614b0850..ea9627cc 100755
--- a/js/io/system/coreioapi.js
+++ b/js/io/system/coreioapi.js
@@ -1101,7 +1101,7 @@ window.hack = function (name, type) {
1101 uri = uri.replace(/^\s+|\s+$/g,""); // strip any leading or trailing spaces 1101 uri = uri.replace(/^\s+|\s+$/g,""); // strip any leading or trailing spaces
1102 1102
1103 //for local machine folder uri 1103 //for local machine folder uri
1104 isWindowsUri = /^([a-zA-Z]:)(\\[^<>:"/\\|?*]+)*\\?$/gi.test(uri); 1104 isWindowsUri = /^([a-zA-Z]:)([\\/][^<>:"/\\|?*]+)*[\\/]?$/gi.test(uri);
1105 isUnixUri = /^(\/)?(\/(?![.])[^/]*)*\/?$/gi.test(uri);//folders beginning with . are hidden on Mac / Unix 1105 isUnixUri = /^(\/)?(\/(?![.])[^/]*)*\/?$/gi.test(uri);//folders beginning with . are hidden on Mac / Unix
1106 status = isWindowsUri || isUnixUri; 1106 status = isWindowsUri || isUnixUri;
1107 if(isWindowsUri && isUnixUri){status = false;} 1107 if(isWindowsUri && isUnixUri){status = false;}