MCPcopy Create free account
hub / github.com/cutelyst/cutelyst / emailDeprecatedValid

Method emailDeprecatedValid

tests/testvalidator.cpp:660–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

658 // ***** Endpoint for ValidatorEmail Deprecated emails valid *****
659 C_ATTR(emailDeprecatedValid, :Local :AutoArgs)
660 void emailDeprecatedValid(Context *c)
661 {
662 Validator v({new ValidatorEmail(u"field"_s,
663 ValidatorEmail::Deprecated,
664 ValidatorEmail::NoOption,
665 m_validatorMessages)});
666 checkResponse(c, v.validate(c, Validator::NoTrimming | Validator::BodyParamsOnly));
667 }
668
669 // ***** Endpoint for ValidatorEmail CFWS conformant emails invalid *****
670 C_ATTR(emailDeprecatedInvalid, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected