| 725 | // ***** Endpoint for ValidatorEmail with allowed UTF8 local part and IDN |
| 726 | C_ATTR(emailUtf8, :Local :AutoArgs) |
| 727 | void emailUtf8(Context *c) |
| 728 | { |
| 729 | Validator v({new ValidatorEmail( |
| 730 | u"field"_s, ValidatorEmail::Valid, ValidatorEmail::AllowUTF8, m_validatorMessages)}); |
| 731 | checkResponse(c, v.validate(c, Validator::NoTrimming | Validator::BodyParamsOnly)); |
| 732 | } |
| 733 | |
| 734 | // ***** Endpoint for ValidatorFileSize ****** |
| 735 | C_ATTR(fileSize, :Local :AutoArgs) |