The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
revert
Steven Tey563900140e63
diff --git a/apps/web/lib/api/links.ts b/apps/web/lib/api/links.tsindex 78f5469b60..2a036e8955 100644--- a/apps/web/lib/api/links.ts+++ b/apps/web/lib/api/links.ts@@ -230,10 +230,6 @@ export async function keyChecks({code: "forbidden",};}-- // replace all special characters for premium key checks- key = key.normalize("NFD").replace(/[\u0300-\u036f]/g, "");-if ((await isReservedUsername(key)) &&(!project || project.plan === "free")@@ -256,6 +252,8 @@ export function processKey(key: string) {}// remove all leading and trailing slashes from keykey = key.replace(/^\/+|\/+$/g, "");+ // replace all special characters+ key = key.normalize("NFD").replace(/[\u0300-\u036f]/g, "");if (key.length === 0) {return null;}