paul-bokelman / cc

ClubCompass client and server monorepo
0 stars 0 forks source link

bug: url validation from registration is different than application #46

Open paul-bokelman opened 8 months ago

paul-bokelman commented 8 months ago

Description

URLs that come from google forms don't need protocols or subdomains to be valid URLs. This is a problem because URLs in cc need those attributes or validation will fail. If validation fails clubs cannot be updated through the dashboard.

Proposed Solution

Solution 1: Parse the url when getting data from registration dataset.

Solution 2: Change ZOD URL validation to account for this.

Parent: #20