mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-24 03:09:36 +08:00
Merge remote-tracking branch 'origin/GT-3574_dev747368_datatypeurl'
This commit is contained in:
@@ -36,7 +36,7 @@ public class DataTypeUrl {
|
||||
// see javadoc for format
|
||||
private static String PROTOCOL = "datatype";
|
||||
private static Pattern URL_PATTERN =
|
||||
Pattern.compile(PROTOCOL + ":/(\\d+)\\?uid=(\\d*)&name=(\\w+)");
|
||||
Pattern.compile(PROTOCOL + ":/(\\d+)\\?uid=(\\d*)&name=(.+)");
|
||||
|
||||
private UniversalID dataTypeManagerId;
|
||||
private UniversalID dataTypeId;
|
||||
|
||||
@@ -115,7 +115,7 @@ public class DataTypeUrlTest {
|
||||
|
||||
String dtmId = "3295333330922457057";
|
||||
String dtId = "3295333330922457056";
|
||||
String name = " ";
|
||||
String name = "";
|
||||
String urlString = "datatype:/" + dtmId + "?uid=" + dtId + "&name=" + name;
|
||||
|
||||
new DataTypeUrl(urlString);
|
||||
|
||||
Reference in New Issue
Block a user