kali834x opened a new pull request, #1136: URL: https://github.com/apache/poi/pull/1136
`ZipFileZipEntrySource.getEntry()` performs case-insensitive matching of ZIP entry names. However, its implementation is inconsistent with `ZipInputStreamZipEntrySource`, which normalizes names using `toLowerCase(Locale.ROOT)` before lookup. Since OPC ZIP entry names are standardized and should be compared using locale-independent ASCII semantics, both implementations should use the same normalization strategy to ensure consistent behavior across entry source types. This PR aligns `ZipFileZipEntrySource` with `ZipInputStreamZipEntrySource` by normalizing names using `toLowerCase(Locale.ROOT)`. A unit test is added to verify consistent case-insensitive lookups and to guard against locale-related regressions, including under the Turkish locale. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
