Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix github hostname check

x0322056958f1cfbd43
diff --git a/backend/src/services/app-connection/github/github-connection-fns.ts b/backend/src/services/app-connection/github/github-connection-fns.ts
index f93ffc56d5..e4bd2e10d5 100644
--- a/backend/src/services/app-connection/github/github-connection-fns.ts
+++ b/backend/src/services/app-connection/github/github-connection-fns.ts
@@ -35,7 +35,7 @@ export const getGitHubInstanceApiUrl = async (config: {
}) => {
const host = config.credentials.host || "github.com";
- await blockLocalAndPrivateIpAddresses(host);
+ await blockLocalAndPrivateIpAddresses(`https://${host}`);
let apiBase: string;
if (config.credentials.instanceType === "server") {