diff --git a/projects/aca-shared/rules/src/app.rules.ts b/projects/aca-shared/rules/src/app.rules.ts index 992773a346..90ee6cd632 100644 --- a/projects/aca-shared/rules/src/app.rules.ts +++ b/projects/aca-shared/rules/src/app.rules.ts @@ -71,7 +71,7 @@ export const supportedExtensions = { export function getFileExtension(fileName: string): string | null { if (fileName) { - const match = fileName.match(/\.([^\./\?\#]+)($|\?|\#)/); + const match = fileName.toLowerCase().match(/\.([^\./\?\#]+)($|\?|\#)/); return match ? match[1] : null; }