mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
More logging on failed plugin file name guessing
This commit is contained in:
+1
@@ -329,6 +329,7 @@ public class PluginDownloader {
|
||||
|
||||
if (fileName == null || !PathUtil.isValidFileName(fileName)) {
|
||||
FileUtil.delete(file);
|
||||
LOG.warn("Invalid file name (header=" + contentDisposition + "; url=" + connection.getURL() + "; name=" + fileName + ")");
|
||||
throw new IOException("Invalid filename returned by the server");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user