1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00

Fixed upload file extensions

This commit is contained in:
Uncled1023 2019-01-28 23:23:39 -08:00
parent 35786f1855
commit 58a9fd8bcf
2 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ function getFileExtension(fileName) {
ext = "." + a.pop() + ext;
}
} else {
ext = a.pop();
ext = "." + a.pop();
}
// Clear the # and ? characters
ext = ext.split('#')[0];

View File

@ -121,7 +121,7 @@ namespace Teknik.Utilities
}
else
{
ext = parts[1];
ext = "." + parts[1];
}
// Strip out invalid parts