The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
use regex
Kiran K0e57f4800ccb
diff --git a/apps/web/lib/zod/schemas/oauth.ts b/apps/web/lib/zod/schemas/oauth.tsindex 7eb2d624c6..7362c9aa94 100644--- a/apps/web/lib/zod/schemas/oauth.ts+++ b/apps/web/lib/zod/schemas/oauth.ts@@ -24,9 +24,7 @@ export const createOAuthAppSchema = createIntegrationSchema.merge(}).refine((urls) => {- return urls.every(- (url) => url.startsWith("https://") || url.startsWith("http://"),- );+ return urls.every((url) => /^(https?:\/\/)/i.test(url));},{message: