matrei commented on code in PR #15199:
URL: https://github.com/apache/grails-core/pull/15199#discussion_r2486369813
##########
grails-forge/grails-forge-core/src/main/java/org/grails/forge/io/ZipOutputHandler.java:
##########
@@ -92,4 +106,29 @@ public void close() throws IOException {
zipOutputStream.finish();
zipOutputStream.close();
}
+
+ private void createParentDirs(String entryName, FileTime lastModified)
throws IOException {
+ int slash = entryName.lastIndexOf('/');
Review Comment:
I believe, in this case, the entry names are already normalized on slash.
Only slash is valid for zip files entries.
--
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]