Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
15.10
-
None
-
Unknown
-
Description
Example: [[label>>url:abc]].
What happens is that when we parse the link reference, we have a fallback in the URLResourceReferenceTypeParser code to fallback on an UNKNOWN type if the passed URL is not valid, but in DefaultLinkReferenceParser if the type is UNKNOWN we fallback to the untyped link reference parser, which considers it as a document reference, thus leading to a wanted link.
While it's good that the rendering code never breaks, the fallback seems wrong and we should probably end up with a broken HTML link instead, rather than a wanted link.
Note: I've created the issue in platform as wanted links are a platform feature, but the fix is likely in rendering and this issue might need to be moved.