On Thu, Nov 12, 2020 at 4:41 PM Tal Yanai <[email protected]> wrote: > FilePath masterDirectory = new FilePath(new File(buildDir + File.separator + > fileName));
Just be careful. If `fileName` is user-controlled, this is an easy attack vector (pass `../../../secrets/master.key` for example). -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2iBozf8BskdL-nvkq_ACT1r0wJ9N9MQre6hKc6qKDDnw%40mail.gmail.com.
