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

Filipe Portes updated CAMEL-15797:
----------------------------------
    Description: 
with a recent update aws s3 started to send folder keys with the contentType as 
"application/x-directory; charset=UTF-8" by default

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 ones, are not identified as folders and they 
are consumed as objects when the .

  was:
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.


> AWS2 S3 component option 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" by default
> 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 ones, are not identified as folders and 
> they are consumed as objects when the .



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

Reply via email to