Skip to content

Add missing validation for optional fields (website, CIDs) #91

@Naomi-Gift

Description

@Naomi-Gift

Priority: Medium
Type: Enhancement
Description: Optional fields like website, logo_cid, metadata_cid, comment_cid should be validated:
Use constants from constants.rs (MAX_WEBSITE_LEN=256, MAX_CID_LEN=128)
Implement is_valid_ipfs_cid and is_valid_url from utils.rs (currently just return true)
Validate format and length

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions