From cdf395cc019c5252b0bcd8cd9c583489e0e62e18 Mon Sep 17 00:00:00 2001 From: Shaheer Sarfaraz <53654735+DaKheera47@users.noreply.github.com> Date: Mon, 19 Jan 2026 19:44:53 +0000 Subject: [PATCH] ensure links are urls Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- orchestrator/src/server/api/routes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orchestrator/src/server/api/routes.ts b/orchestrator/src/server/api/routes.ts index e1107ef..fb4dad0 100644 --- a/orchestrator/src/server/api/routes.ts +++ b/orchestrator/src/server/api/routes.ts @@ -761,8 +761,8 @@ const manualJobImportSchema = z.object({ job: z.object({ title: z.string().trim().min(1).max(500), employer: z.string().trim().min(1).max(500), - jobUrl: z.string().trim().max(2000).optional(), - applicationLink: z.string().trim().max(2000).optional(), + jobUrl: z.string().trim().url().max(2000).optional(), + applicationLink: z.string().trim().url().max(2000).optional(), location: z.string().trim().max(200).optional(), salary: z.string().trim().max(200).optional(), deadline: z.string().trim().max(100).optional(),