{"version":"2.1.216","anchor":"forge-classification-for-pr-mr-urls","canonical_anchor":"forge-classification-for-pr-mr-urls","heading":"Forge Classification for PR\/MR URLs","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.216\/e\/forge-classification-for-pr-mr-urls","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.216","markdown":"### Forge Classification for PR\/MR URLs\n\n**What**\n\nPR and MR URLs are now classified by forge type \u2014 `github`, `github-enterprise`, `gitlab`, or `bitbucket` \u2014 based on URL shape, not just hostname. This information is surfaced to tools and hooks that work with pull\/merge request URLs.\n\n**Details**\n\n- GitLab detected by `\/-\/merge_requests\/` in the path\n- Bitbucket detected by `\/pull-requests\/` in the path\n- GitHub detected by matching known GitHub hostnames\n- Anything else is classified as `github-enterprise`\n- Described as \"a naming hint, not host trust\" \u2014 an unrecognised host with a PR-shaped path classifies as `github-enterprise`\n\n**Evidence**\n\nForge classifier (search for `\"\/-\/merge_requests\/\"` or `\"forge classification derived from\"`)."}