You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: add URL normalization and scheme checks #342
cloud-registry normalizes and checks URLs in stored records (lowercased scheme and host, default ports removed, paths normalized, allowed schemes per field, https-only option in elixir-cloud-aai/cloud-registry#147). proTES (TES endpoints), TRS-Filer and DRS-Filer (access URLs) need the same checks. Part of FOCA 0.16.0, so cloud-registry v0.3.0 uses it (cloud-registry#157).
How?
Move the generic URL helpers from cloud_registry/ga4gh/registry/service.py (normalization, allowed schemes per field) into a FOCA utility.
Apps configure the allowed schemes for their own fields; FOCA doesn't know which fields hold URLs.
Switch cloud-registry to the FOCA utility afterwards (separate issue there).
Acceptance criteria
FOCA offers a tested URL normalization and scheme-check helper with per-field configuration.
Activity
uniqueg commentedon Oct 21, 2026
Done in #366.