Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ui/app/config/views/mcpClientForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const ClientForm: React.FC<ClientFormProps> = ({ client, open, onClose, onSaved
Validator.required(form.connection_string?.trim(), "Connection URL is required"),
Validator.pattern(
form.connection_string || "",
/^(http:\/\/|https:\/\/|env\.[A-Z_]+$)/,
/^(?:http:\/\/|https:\/\/|env\.[A-Z_]+)$/,
"Connection URL must start with http://, https://, or be an environment variable (env.VAR_NAME)",
),
]
Expand Down