Links such as department and person profile use raw IDs in URLs (e.g. /department-profile/${id}). IDs with special characters like /, ?, or & can break routing.
Add shared helpers (eg departmentProfilePath, personProfilePath) using encodeURIComponent and use them everywhere we link to other pages.
Links such as department and person profile use raw IDs in URLs (e.g.
/department-profile/${id}). IDs with special characters like /, ?, or & can break routing.Add shared helpers (eg departmentProfilePath, personProfilePath) using encodeURIComponent and use them everywhere we link to other pages.