LinkLocality relates the URL of a link of a document to the link destination.
Link locality is a tool for analyzing a sites structure, it is not intended or fit for security purposes.
Possible Values are:
SelfLink
=0
InLink
=1
OutLink
=2
Self-links refer to the same document as they are on, they only change the fragment
.
In-links stay on the same site, they are allowed to change the path
, query
and fragment
. In addition they are allowed to switch between the encrypted version of a protocol and the non-encrypted one. (The default implementation allows appending or removing an s
suffix in the scheme
independent of the used protocol)
Out-links are all other links. Links without a hostname are also considered outlinks by the default implementation. They are also the sane default to fall back to in case of doubt or lack of information.
Please note that the default derivation implementation is currently made for websites and is intended to be wrapped by a custom implementation should the need arise.