{"data":{"id":"magento2-38924","source":"github-pr","sourceRef":"magento/magento2#38924","title":"[Bug] Magento 2.4.7 doesn't allow product photo's with capital letter file extension.","pr":{"number":38924,"url":"https://github.com/magento/magento2/pull/38924","author":"monteshot","mergedAt":"2024-08-17T12:11:21Z","mergeCommit":"c06652bc9082f4302019242f8f8c1fedcbee6519","headCommit":"dc85981ddda85d75f1c2781e9e2e1c50e3976ae8","baseRef":"2.4-develop","diffSha256":"17e4f23643f3d6f7435c60310d85ffdaa194480ffdb03a8809722926bd8ba1eb"},"issues":[{"number":38831,"url":"https://github.com/magento/magento2/issues/38831","title":"[Bug] Magento 2.4.7 doesn't allow product photo's with capital letter file extension.","labels":["Area: Admin UI","Component: File","Issue: Confirmed","Priority: P1","Progress: done","Reported on 2.4.7","Reproduced on 2.4.x"],"kind":"human"}],"fixedIn":"2.4.8","containingTags":["2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5","2.4.9"],"reportedOn":"2.4.7","codeMatch":{"2.4.6":"conflict","2.4.6-p1":"conflict","2.4.6-p2":"conflict","2.4.6-p3":"conflict","2.4.6-p4":"conflict","2.4.6-p5":"conflict","2.4.6-p6":"conflict","2.4.6-p7":"conflict","2.4.6-p8":"conflict","2.4.6-p9":"conflict","2.4.6-p10":"conflict","2.4.6-p11":"conflict","2.4.6-p12":"conflict","2.4.6-p13":"conflict","2.4.6-p14":"conflict","2.4.6-p15":"conflict","2.4.7":"clean","2.4.7-p1":"clean","2.4.7-p2":"clean","2.4.7-p3":"clean","2.4.7-p4":"clean","2.4.7-p5":"clean","2.4.7-p6":"clean","2.4.7-p7":"clean","2.4.7-p8":"clean","2.4.7-p9":"clean","2.4.7-p10":"clean","2.4.8":"conflict","2.4.8-p1":"conflict","2.4.8-p2":"conflict","2.4.8-p3":"conflict","2.4.8-p4":"conflict","2.4.8-p5":"conflict","2.4.9":"conflict"},"affectedVersions":["2.4.7","2.4.7-p1","2.4.7-p2","2.4.7-p3","2.4.7-p4","2.4.7-p5","2.4.7-p6","2.4.7-p7","2.4.7-p8","2.4.7-p9","2.4.7-p10"],"components":["magento/module-backend"],"files":[{"path":"app/code/Magento/Backend/view/adminhtml/web/js/media-uploader.js","change":"modified","package":"magento/module-backend"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":2,"mergeBatched":false,"excluded":null,"sections":{"description":"After upgrading to 2.4.7, Image uploads with capital letter file extensions are refused.","stepsToReproduce":"1. Create a new product\n2. Try to upload a picture with e.g. filename `DSCN0018.JPG`. The upload will fail.\n3. Change the filename to `DSCN0018.jpg`. The upload succeeds.\n\n<img width=\"778\" alt=\"Screenshot 2024-06-14 at 18 47 20\" src=\"https://github.com/magento/magento2/assets/1392118/f63e59a0-0475-47be-af2d-2daacb8aa1f6\">","expectedResult":"Image uploads with capital letter file extensions don't cause an error.","actualResult":"After upgrading to 2.4.7, Image uploads with capital letter file extensions are refused.","source":"issue"},"signatures":[],"labels":{"area":["Admin UI"],"component":["File"],"priority":"P1","severity":null,"reportedOn":["2.4.7"]},"categories":["Admin"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"823b60f0100dc9a4aa159a9543a2cca4a020cf31d6bf320bc74662008e097b2f","isBugfix":0.9812,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9577,"feature":0.0073,"refactor":0.014,"tests_only":0.009,"docs_only":0.0057,"dependency":0.0063},"confidence":0.9012},"scope":{"score":0.1842,"probabilities":{"0":0.8515,"1":0.1127,"2":0.0358},"confidence":0.6087},"risk":{"score":0.2084,"probabilities":{"0":0.8092,"1":0.1732,"2":0.0176},"confidence":0.5277},"area":{"choice":"admin","probabilities":{"catalog":0.098,"checkout":0.0069,"customer":0.0061,"admin":0.7629,"graphql_api":0.006,"framework":0.0179,"frontend":0.0801,"other":0.0221},"confidence":0.5417},"securityRelevant":0.0184,"reportedVersion":{"choice":"2.4.7","probabilities":{"2.4.0":0.0029,"2.4.0-p1":0.003,"2.4.1":0.0025,"2.4.1-p1":0.0027,"2.4.2":0.0026,"2.4.2-p1":0.0028,"2.4.2-p2":0.0031,"2.4.3":0.0034,"2.4.3-p1":0.0037,"2.4.3-p2":0.0038,"2.4.3-p3":0.0032,"2.4.4":0.0032,"2.4.4-p1":0.0032,"2.4.4-p10":0.0038,"2.4.4-p11":0.0043,"2.4.4-p12":0.0036,"2.4.4-p13":0.0035,"2.4.4-p14":0.004,"2.4.4-p15":0.0035,"2.4.4-p16":0.0035,"2.4.4-p17":0.0036,"2.4.4-p18":0.0031,"2.4.4-p2":0.0024,"2.4.4-p3":0.0025,"2.4.4-p4":0.0028,"2.4.4-p5":0.0031,"2.4.4-p6":0.0034,"2.4.4-p7":0.0032,"2.4.4-p8":0.0035,"2.4.4-p9":0.0029,"2.4.5":0.0032,"2.4.5-p1":0.0029,"2.4.5-p10":0.003,"2.4.5-p11":0.0031,"2.4.5-p12":0.0042,"2.4.5-p13":0.0033,"2.4.5-p14":0.0036,"2.4.5-p15":0.0031,"2.4.5-p16":0.0032,"2.4.5-p17":0.0033,"2.4.5-p2":0.0026,"2.4.5-p3":0.0027,"2.4.5-p4":0.003,"2.4.5-p5":0.0033,"2.4.5-p6":0.0031,"2.4.5-p7":0.0033,"2.4.5-p8":0.003,"2.4.5-p9":0.0027,"2.4.6":0.0096,"2.4.6-p1":0.0094,"2.4.6-p10":0.0053,"2.4.6-p11":0.0073,"2.4.6-p12":0.0064,"2.4.6-p13":0.0065,"2.4.6-p14":0.0072,"2.4.6-p15":0.0061,"2.4.6-p2":0.0028,"2.4.6-p3":0.0038,"2.4.6-p4":0.0046,"2.4.6-p5":0.0041,"2.4.6-p6":0.0043,"2.4.6-p7":0.0048,"2.4.6-p8":0.0041,"2.4.6-p9":0.0032,"2.4.7":0.5762,"2.4.7-p1":0.0169,"2.4.7-p10":0.0094,"2.4.7-p2":0.0108,"2.4.7-p3":0.0108,"2.4.7-p4":0.0117,"2.4.7-p5":0.0116,"2.4.7-p6":0.0158,"2.4.7-p7":0.0172,"2.4.7-p8":0.0112,"2.4.7-p9":0.0097,"2.4.8":0.0063,"2.4.8-p1":0.0062,"2.4.8-p2":0.0067,"2.4.8-p3":0.0071,"2.4.8-p4":0.0071,"2.4.8-p5":0.0069,"2.4.9":0.0065,"unspecified":0.009},"confidence":0.327},"backportWorthy":{"score":1.6677,"probabilities":{"0":0.0727,"1":0.1869,"2":0.7404},"confidence":0.3826}},"curated":{"title":"Fixes the issue where admin image uploads with capital letter extensions fail","description":"Image uploads with capital letter file extensions, such as DSCN0018.JPG, are refused in the admin media uploader, but the same file named DSCN0018.jpg succeeds. The media uploader now handles file extensions in a case-insensitive manner by converting them to lower case before validation.","categories":["Admin"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-38924 details"}