Skip to content

normaliseEmail yandex conversion #2440

@AayushGH

Description

@AayushGH

Describe the bug
Currently, all yandex domains like ua, com etc. are being converted to yandex.ru.
This behaviour should be optional with the default setting being true for the conversion.

Motivation

In micro-service communication, the services using this sanitizer shares the converted email, but other services expect the original, non converted email. This breaks the communication flow.

Examples
Screenshot 2024-08-20 at 3 45 52 PM
Screenshot 2024-08-20 at 3 46 34 PM

Additional context
Validator.js version: Latest
Node.js version: Latest
OS platform: [macOS]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions