Skip to content

fix(web): validate avatar URL before saving - #1172

Open
ieuforu wants to merge 1 commit into
felinics:mainfrom
ieuforu:fix/web-avatar-url-validation
Open

fix(web): validate avatar URL before saving#1172
ieuforu wants to merge 1 commit into
felinics:mainfrom
ieuforu:fix/web-avatar-url-validation

Conversation

@ieuforu

@ieuforu ieuforu commented Sep 7, 2026

Copy link
Copy Markdown
  • Add URL format validation (must be http/https protocol)
  • Verify URL loads as a valid image via Image() probe
  • Show error toast on validation failure
  • Use Button loading state during validation
  • Add i18n keys for en/zh/ja locales

Closes #1149

- Add URL format validation (must be http/https protocol)
- Verify URL loads as a valid image via Image() probe
- Show error toast on validation failure
- Use Button loading state during validation
- Add i18n keys for en/zh/ja locales

Closes felinics#1149
@ieuforu
ieuforu requested a review from a team as a code owner September 7, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

头像链接可填任意 URL,缺少校验

1 participant