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

Konrad Windszus updated JCRVLT-362:
-----------------------------------
    Fix Version/s: 3.2.10

> ZipStreamArchive does not expose correct input source to the META-INF 
> resources
> -------------------------------------------------------------------------------
>
>                 Key: JCRVLT-362
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-362
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>    Affects Versions: 3.2.8
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: 3.2.10
>
>
> After calling {{open}} on a given {{ZipStreamArchive}} the {{getInputSource}} 
> does not correctly expose access to the input stream of the entries below 
> {{META-INF}}. This is due to the fact that the input stream of those entries 
> are already consumed once 
> https://github.com/apache/jackrabbit-filevault/blob/202e86a98226d1e3fda4a3f9278f174fc4c6094d/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/io/ZipStreamArchive.java#L158
>  is reached. The solution would be to first copy to buffer/file and then read 
> the meta inf from there.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to