Skip to content

🧩 enhancement: add defensive domain sanitization in mergeConfig #8

@jonasmzsouza

Description

@jonasmzsouza

Context

Include defensive validation using the sanitizeDomains() method within the mergeConfig function to ensure that the domains specified in acceptOrigins are normalized and valid before use.

Benefits

  • "Prevents incorrect parameter propagation."
  • "Ensures consistency and security in domain configuration."

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions