shenyu
shenyu copied to clipboard
[risk] Path traversal in ShenyuPluginPathBuilder
Question
/**
* Gets plugin file.
*
* @param path the path
* @return the plugin jar file.
*/
public static File getPluginFile(final String path) {
String pluginPath = getPluginPath(path);
return new File(pluginPath);
}
can you fix it? thanks