Allow upload of readme.txt/.md and license.txt/.md

This commit is contained in:
Robin E. R. Davies
2026-01-21 08:24:16 -05:00
parent 5fa458a599
commit e259b31628
4 changed files with 32 additions and 10 deletions
+1 -1
View File
@@ -1775,7 +1775,7 @@ export default withStyles(
return true;
}
let fileNameOnly = pathFileNameOnly(fileName);
if (fileNameOnly === "LICENSE" || fileNameOnly === "README")
if (fileNameOnly.toUpperCase() === "LICENSE" || fileNameOnly.toUpperCase() === "README")
{
return true;
}