incubator-devlake
incubator-devlake copied to clipboard
fix(gh-copilot): preserve hyphenated enterprise slugs
Fixes #8860.
This preserves GitHub Copilot enterprise slugs when building API paths, including slugs with hyphens. The connection test payload now includes enterprise, and all GH Copilot enterprise/org collector URLs use a shared path builder that trims and path-escapes the slug without changing - to _.