[
https://issues.apache.org/jira/browse/OFBIZ-12698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17611536#comment-17611536
]
ASF subversion and git services commented on OFBIZ-12698:
---------------------------------------------------------
Commit 1e1f635b81a7928f5c00b9e1874eda8bc6ab3d9d in ofbiz-framework's branch
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=1e1f635b81 ]
Fixed: Unable to upload a CSV file (OFBIZ-12636)
While testing on "Upgrade pdfbox to 2.0.27 (OFBIZ-12698)" I found that I could
not upload a valid PDF.
Actually it was due to SecuredUpload::isValidCsvFile that was crashing when
uploading this PDF file.
I don't remember clearly but it was for a reason that I did not put the call to
isValidCsvFile as the last check in isValidFile for the "all" and default case.
As I can't remember now and it works for both CSV and PDF as "all" (when adding
files from an user profile) I eventually decided to put "isValidCsvFile" at the
end of the check. Unfortunately, it's complicate to test all possible
combinations.
> Upgrade pdfbox to 2.0.27
> ------------------------
>
> Key: OFBIZ-12698
> URL: https://issues.apache.org/jira/browse/OFBIZ-12698
> Project: OFBiz
> Issue Type: Bug
> Components: framework/security
> Affects Versions: 22.01.01
> Reporter: Jacques Le Roux
> Assignee: Jacques Le Roux
> Priority: Major
> Fix For: 22.01.01
>
>
> This is an incremental bugfix release based on the earlier 2.0.26 release. It
> contains
> a couple of fixes and small improvements.
> See https://lists.apache.org/thread/wcss5160hr8dtmc0zvd49qy1mypvwln8
--
This message was sent by Atlassian Jira
(v8.20.10#820010)