Skip to content

Commit

Permalink
Merge pull request #5507 from david-poindexter/rm-file-upload-ext
Browse files Browse the repository at this point in the history
Resolve Resource Manager issue uploading files with uppercase extensions
  • Loading branch information
mitchelsellers authored Jan 29, 2023
2 parents ea759a2 + b5c9d49 commit 0948832
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class DnnRmQueuedFile {

private uploadFile(){
return new Promise<string>((resolve, reject) => {
const extension = this.file.name.split('.').pop();
const extension = this.file.name.split('.').pop().toLowerCase();
if (this.filter.split(',').indexOf(extension) === -1) {
const message = `'.${extension}' ${state.localization.InvalidExtensionMessage}`;
this.fileUploadResults = {
Expand Down

0 comments on commit 0948832

Please sign in to comment.