mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-31 21:37:54 +08:00
Merge remote-tracking branch 'origin/Ghidra_12.1'
This commit is contained in:
@@ -37,7 +37,7 @@ public final class NamingUtilities {
|
|||||||
|
|
||||||
public final static Set<Character> VALID_NAME_CHARSET =
|
public final static Set<Character> VALID_NAME_CHARSET =
|
||||||
Collections.unmodifiableSet(
|
Collections.unmodifiableSet(
|
||||||
Set.of('.', '-', '=', '@', ' ', '_', '(', ')', '[', ']'));
|
Set.of('.', '-', '=', '@', ' ', '_', '(', ')', '[', ']', '~'));
|
||||||
|
|
||||||
private NamingUtilities() {
|
private NamingUtilities() {
|
||||||
}
|
}
|
||||||
@@ -50,7 +50,7 @@ public final class NamingUtilities {
|
|||||||
* <li>Name may not be blank (i.e., no characters or all space characters)</li>
|
* <li>Name may not be blank (i.e., no characters or all space characters)</li>
|
||||||
* <li>Name may not start with period</li>
|
* <li>Name may not start with period</li>
|
||||||
* <li>All characters must be a letter, digit (0..9), or within the allowed character set:
|
* <li>All characters must be a letter, digit (0..9), or within the allowed character set:
|
||||||
* '.', '-', '=', '@', ' ', '_', '(', ')', '[', ']' </li>
|
* '.', '-', '=', '@', ' ', '_', '(', ')', '[', ']', '~' </li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* @param name name to validate
|
* @param name name to validate
|
||||||
@@ -88,7 +88,7 @@ public final class NamingUtilities {
|
|||||||
* <li>Path element may not start with a '.' which may result in path traversal or hidden
|
* <li>Path element may not start with a '.' which may result in path traversal or hidden
|
||||||
* file/folder use.</li>
|
* file/folder use.</li>
|
||||||
* <li>Path element may only contain the letters, numbers, or the following characters:
|
* <li>Path element may only contain the letters, numbers, or the following characters:
|
||||||
* '.', '-', '=', '@', ' ', '_', '(', ')', '[', ']'</li>
|
* '.', '-', '=', '@', ' ', '_', '(', ')', '[', ']', '~' </li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* @param pathElement project or file path element (use of leading and trailing spaces should be
|
* @param pathElement project or file path element (use of leading and trailing spaces should be
|
||||||
|
|||||||
Reference in New Issue
Block a user