Skip to content

Add helper for sanitizing creator bio content before indexing #373

@Chucks1093

Description

@Chucks1093

Summary
Creator bio content submitted by users may contain HTML tags, invisible Unicode characters, or excessive whitespace that should be stripped before the bio is stored and indexed. A sanitization helper applied at the write path ensures stored bios are clean.

Scope

  • add a helper that strips HTML tags, invisible Unicode, and normalizes whitespace in a bio string
  • apply the helper in the creator registration and profile update paths
  • add a unit test covering HTML injection, zero-width characters, and multi-space inputs

Acceptance Criteria

  • HTML tags are stripped from stored bio content
  • invisible Unicode characters are removed
  • whitespace is normalized to single spaces

Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions