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

Method emailCfwsInvalid

tests/testvalidator.cpp:651–656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

649 // ***** Endpoint for ValidatorEmail CFWS conformant emails invalid *****
650 C_ATTR(emailCfwsInvalid, :Local :AutoArgs)
651 void emailCfwsInvalid(Context *c)
652 {
653 Validator v({new ValidatorEmail(
654 u"field"_s, ValidatorEmail::RFC5321, ValidatorEmail::NoOption, m_validatorMessages)});
655 checkResponse(c, v.validate(c, Validator::NoTrimming | Validator::BodyParamsOnly));
656 }
657
658 // ***** Endpoint for ValidatorEmail Deprecated emails valid *****
659 C_ATTR(emailDeprecatedValid, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected