Validates a requested avatar. Null or empty values clear the corresponding column, so both
null is a valid "revert to default".
imageURL: a data:image/(png|jpeg|jpg|gif|webp);base64,... URI whose decoded size is at most
AVATAR_MAX_IMAGE_BYTES, or an absolute http:/https: URL of at most
AVATAR_MAX_URL_LENGTH characters with no whitespace. Everything else is refused.
Validates a requested avatar. Null or empty values clear the corresponding column, so both null is a valid "revert to default".
imageURL: adata:image/(png|jpeg|jpg|gif|webp);base64,...URI whose decoded size is at most AVATAR_MAX_IMAGE_BYTES, or an absolutehttp:/https:URL of at most AVATAR_MAX_URL_LENGTH characters with no whitespace. Everything else is refused.iconClass: at most AVATAR_MAX_ICON_CLASS_LENGTH characters of[a-z0-9 -], containing at least onefa-token.