P1: Zoho URL double-slash if ZOHO_API_DOMAIN has trailing slash #8

Open
opened 2026-05-13 20:39:37 -05:00 by null · 0 comments
Owner

Severity: P1 — High

File: server/index.js ~line 231

Problem: URL construction uses template literal: ${ZOHO_API_DOMAIN}/crm/v8/Leads. If ZOHO_API_DOMAIN has a trailing slash, URL becomes https://www.zohoapis.com//crm/v8/Leads.

Impact: Zoho API returns 404 for double slashes in some regions.

Fix: Trim trailing slash from ZOHO_API_DOMAIN before URL construction.

## Severity: P1 — High **File:** server/index.js ~line 231 **Problem:** URL construction uses template literal: ${ZOHO_API_DOMAIN}/crm/v8/Leads. If ZOHO_API_DOMAIN has a trailing slash, URL becomes https://www.zohoapis.com//crm/v8/Leads. **Impact:** Zoho API returns 404 for double slashes in some regions. **Fix:** Trim trailing slash from ZOHO_API_DOMAIN before URL construction.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: null/Queue-North-Website#8
No description provided.