Daniel Beck commented on Bug JENKINS-22514

https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/util/io/ZipArchiver.java shows how it's supposed to be done.

String relativePath = _relativePath.replace('\\', '/');

Unfortunately this would introduce a bug on platforms where backslash is a legal file name character. Something like replace(File.separator, '/') should do it though.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to