mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-10 02:26:18 +00:00
Narrow the suppression.
And add TODO connected with JENKINS tickets for relevant issues.
This commit is contained in:
1 parent
2241771c9a
commit
348a26f77e
18 files changed
+127
-52
No files matched your search
@@ -78,7 +78,6 @@ import java.util.logging.Logger;
|
||||
|
||||
import static org.apache.commons.io.FilenameUtils.getBaseName;
|
||||
|
||||
@SuppressFBWarnings(value = "PATH_TRAVERSAL_IN", justification = "Administrator action installing a plugin, which could do far worse.")
|
||||
public class ClassicPluginStrategy implements PluginStrategy {
|
||||
|
||||
private static final Logger LOGGER = Logger.getLogger(ClassicPluginStrategy.class.getName());
|
||||
@@ -432,6 +431,7 @@ public class ClassicPluginStrategy implements PluginStrategy {
|
||||
return null;
|
||||
}
|
||||
|
||||
@SuppressFBWarnings(value = "PATH_TRAVERSAL_IN", justification = "Administrator action installing a plugin, which could do far worse.")
|
||||
private static File resolve(File base, String relative) {
|
||||
File rel = new File(relative);
|
||||
if(rel.isAbsolute())
|
||||
|
||||
Reference in new issue
Block a user