mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 19:06:30 +00:00
Fix
This commit is contained in:
parent
eeebc7ff8d
commit
b797452732
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ var path2Send = EJS_pathtodata
|
||||||
split1.push(split3[i])
|
split1.push(split3[i])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (! path2Send.startsWith('/') && path2Send.split('://').length != 1) {
|
if (! path2Send.startsWith('/') && path2Send.split('://').length != 1 && path2Send.split('http:').length != 1 && path2Send.split('https:').length != 1) {
|
||||||
for (var w=0; w<split2.length; w++) {
|
for (var w=0; w<split2.length; w++) {
|
||||||
if (split2[w] == '' || split2[w] == '.') {
|
if (split2[w] == '' || split2[w] == '.') {
|
||||||
} else if (split2[w] == '..') {
|
} else if (split2[w] == '..') {
|
||||||
|
|
Loading…
Reference in a new issue