mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
e902d3b6ad
* fix: sanitize branch names for valid domain generation Branch names containing invalid domain characters (like '/') were being used directly when creating VCS preview domains, resulting in invalid domains like 'branch-abc/test.appwrite.network'. This adds a Domain helper class that sanitizes branch names by replacing invalid characters with hyphens before generating domains. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * refactor: use Text constants for branch name sanitization Replace regex with explicit character validation using Utopia Text constants for better readability and maintainability. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Move to transformation adapter * lint * tiny * fix test * ut * use Filter * lint * more lint * simplify --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>