Skip to content

Conversation

gustavkj
Copy link
Contributor

Fixes: #457

Fixes the extension compatibility with Github Enterprise Cloud instances on <company>.ghe.com.

There are two issues I found that needed to be fixed. One was the generation of the API URI, which incorrectly prepended api. to the protocol rather than the hostname. Second, when comparing the push URL of a remote with the host of the GHE API host it wouldn't match since the remote does not use the API subdomain.

@gustavkj gustavkj marked this pull request as ready for review March 21, 2025 10:34
@gustavkj gustavkj requested a review from a team as a code owner March 21, 2025 10:34
Copy link
Collaborator

@elbrenn elbrenn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gustavkj I tested and verified your change with ghe, thank you for this fix!

I'll leave this for a couple days for your thoughts on these comments and then open up a PR referencing this one if I don't hear back

@elbrenn elbrenn merged commit 6a24cee into github:main Apr 11, 2025
1 check passed
@elbrenn
Copy link
Collaborator

elbrenn commented Apr 11, 2025

Will get this released next week alongside a few other changes 👍

@gustavkj
Copy link
Contributor Author

It appears that the security fix that was added on top of this implementation broke it. I've created an issue: #502

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not working with <company>.ghe.com

3 participants