At the moment these two classes have similar checks to identify anchors and relative URLs or absolute URLs:
- PhutilRemarkupDocumentLinkRule
- PhutilRemarkupHyperlinkRule
This can be somehow generalized to simplify the general question "is this damn link pointing to an internal resource?"
Goals:
D25082 clear method to identify an anchor
D25082 clear method to identify a relative URL
D25083 clear method to identify an URL pointing to a domain that is my very same base-uri