[
https://issues.apache.org/jira/browse/COMPRESS-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18152875#comment-18152875
]
Piotr Karwasz commented on COMPRESS-727:
----------------------------------------
Another case such an extractor should handle: {{ArchiveEntry.resolveIn()}}
compares names lexically, so on file systems that normalize Unicode names (for
example APFS on macOS), two entry names that differ only in their normalization
form (NFC vs NFD) can resolve to the same file. An archive can therefore create
a symbolic link under one form and write through it under the other. A
symlink-resistant extractor should compare names in a normalized form, or check
the real path of each target before writing, rather than rely on
{{resolveIn()}}.
> Provide a symlink-resistant (and concurrency-safe) archive Extractor
> --------------------------------------------------------------------
>
> Key: COMPRESS-727
> URL: https://issues.apache.org/jira/browse/COMPRESS-727
> Project: Commons Compress
> Issue Type: Improvement
> Reporter: Piotr Karwasz
> Priority: Major
> Attachments: COMPRESS-727.patch
>
>
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)