diff --git a/Ghidra/Framework/FileSystem/src/main/java/ghidra/util/NamingUtilities.java b/Ghidra/Framework/FileSystem/src/main/java/ghidra/util/NamingUtilities.java index d14538af13..73a26638d7 100644 --- a/Ghidra/Framework/FileSystem/src/main/java/ghidra/util/NamingUtilities.java +++ b/Ghidra/Framework/FileSystem/src/main/java/ghidra/util/NamingUtilities.java @@ -37,7 +37,7 @@ public final class NamingUtilities { public final static Set VALID_NAME_CHARSET = Collections.unmodifiableSet( - Set.of('.', '-', '=', '@', ' ', '_', '(', ')', '[', ']')); + Set.of('.', '-', '=', '@', ' ', '_', '(', ')', '[', ']', '~')); private NamingUtilities() { } @@ -50,7 +50,7 @@ public final class NamingUtilities { *
  • Name may not be blank (i.e., no characters or all space characters)
  • *
  • Name may not start with period
  • *
  • All characters must be a letter, digit (0..9), or within the allowed character set: - * '.', '-', '=', '@', ' ', '_', '(', ')', '[', ']'
  • + * '.', '-', '=', '@', ' ', '_', '(', ')', '[', ']', '~' * * * @param name name to validate @@ -88,7 +88,7 @@ public final class NamingUtilities { *
  • Path element may not start with a '.' which may result in path traversal or hidden * file/folder use.
  • *
  • Path element may only contain the letters, numbers, or the following characters: - * '.', '-', '=', '@', ' ', '_', '(', ')', '[', ']'
  • + * '.', '-', '=', '@', ' ', '_', '(', ')', '[', ']', '~' * * * @param pathElement project or file path element (use of leading and trailing spaces should be