[ https://issues.apache.org/jira/browse/OFBIZ-12639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756716#comment-17756716 ]
Jacques Le Roux commented on OFBIZ-12639: ----------------------------------------- Hi Ingo, I think you should have a look at SecuredUpload::imageMadeSafe. > Upload image size issue > ----------------------- > > Key: OFBIZ-12639 > URL: https://issues.apache.org/jira/browse/OFBIZ-12639 > Project: OFBiz > Issue Type: Improvement > Components: product/catalog > Affects Versions: Upcoming Branch > Reporter: Ingo Wolfmayr > Priority: Major > Attachments: 40000054.png, test.jpeg > > > I tied to uploaded an Image > 3MB and it fails as the line length > 10000 > Does this security check make sense for images? Attached you will find the > image. > Additional to that, the security message is missleading: For security reason > only valid files of supported image formats... > Responsible code can be found in: SecuredUploads.java (line 205) & > DataServices.java (line 216) -- This message was sent by Atlassian Jira (v8.20.10#820010)