Ghidra is a software reverse engineering (SRE) framework
GP-0 corrected URL connection error message
ghidra1db5945c286d5
diff --git a/Ghidra/Framework/Project/src/main/java/ghidra/framework/protocol/ghidra/GhidraURLWrappedContent.java b/Ghidra/Framework/Project/src/main/java/ghidra/framework/protocol/ghidra/GhidraURLWrappedContent.javaindex 09d41103b0..4c87433cb9 100644--- a/Ghidra/Framework/Project/src/main/java/ghidra/framework/protocol/ghidra/GhidraURLWrappedContent.java+++ b/Ghidra/Framework/Project/src/main/java/ghidra/framework/protocol/ghidra/GhidraURLWrappedContent.java@@ -22,6 +22,7 @@ import java.util.List;import ghidra.framework.data.DefaultProjectData;import ghidra.framework.model.*;+import ghidra.framework.store.FileSystem;import ghidra.util.InvalidNameException;/**@@ -133,9 +134,8 @@ public class GhidraURLWrappedContent {}}if (folder == null) {- // TODO: URL location not foundcloseProjectData();- throw new FileNotFoundException("URL specifies unknown path: " + folderPath);+ throw new FileNotFoundException("URL specifies unknown folder path: " + folderPath);}if (folderItemName == null) {@@ -156,7 +156,12 @@ public class GhidraURLWrappedContent {}closeProjectData();- throw new FileNotFoundException("URL specifies unknown path: " + folderPath);+ String path = folderPath;+ if (!path.endsWith(FileSystem.SEPARATOR)) {+ path += FileSystem.SEPARATOR;+ }+ path += folderItemName;+ throw new FileNotFoundException("URL specifies unknown path: " + path);}/**