Do not flag internal references as suspicious
This commit is contained in:
parent
c6f392b7e0
commit
6da83fa41e
|
@ -1,2 +1,4 @@
|
|||
* Update core R5 code to v4.6.0 (breaking changes to questionnaire, concept map, and other resources that are less important to core)
|
||||
* Fix compartment definitions of ListResource.source and subject for R3 and R4
|
||||
* Snapshot generator: fix problem checking types on logical models
|
||||
* Do not flag internal references as suspicious
|
||||
|
|
|
@ -2757,7 +2757,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat
|
|||
}
|
||||
|
||||
private boolean isSuspiciousReference(String url) {
|
||||
if (!assumeValidRestReferences || url == null || Utilities.isAbsoluteUrl(url)) {
|
||||
if (!assumeValidRestReferences || url == null || Utilities.isAbsoluteUrl(url) || url.startsWith("#")) {
|
||||
return false;
|
||||
}
|
||||
String[] parts = url.split("\\/");
|
||||
|
|
Loading…
Reference in New Issue