Skip to content

Commit

Permalink
Resolve Resource Manager issue uploading files with uppercase extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
david-poindexter committed Jan 29, 2023
1 parent ea759a2 commit b5c9d49
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 b5c9d49

Please sign in to comment.