See #2221 for implementation of source.target_repo and source.target_repo_map_type filters focused on repo relative URLs. This ticket is to take this feature one step further by supporting canonical URLs, in addition to the current support for relative URLs.