[ 
https://issues.apache.org/jira/browse/CAMEL-15797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Cosentino resolved CAMEL-15797.
--------------------------------------
    Resolution: Fixed

> AWS2 S3 component options isIncludeFolders check fails in some cases
> --------------------------------------------------------------------
>
>                 Key: CAMEL-15797
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15797
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-aws-s3
>    Affects Versions: 3.5.0, 3.6.0
>            Reporter: Filipe Portes
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 3.7.0
>
>
> with a recent update aws s3 started to send folder keys with the contentType 
> as "application/x-directory; charset=UTF-8"
> and the current check in the AWS2S3Consumer.java class only checks for: 
> {code:java}
> "application/x-directory".equalsIgnoreCase
> {code}
> on line 
> [https://github.com/apache/camel/blob/master/components/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3Consumer.java#L221]
> with this some keys, specially new are not identified as folders.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to