Issue Feature Rejected

#106015utf-8 validator for form fields

Christian Weiske 01/29/25, 14:04 updated 04/01/25, 19:33

Description

Spammers often enter invalid utf-8 characters in forms and submit them. This leads to problems when sending the data to an API by json-encoding them:
> json_encode error: Malformed UTF-8 characters, possibly incorrectly encoded

TYPO3 should provide a way to validate if form field values contain valid utf-8 characters only.

Either the Text validator could be extended, or a new UTF-8 validator could be introduced.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 1

  1. Georg Ringer commented and changed status New Rejected <span data-processor="relativetime" data-value="2025-04-01T19:33:23+00:00" > 04/01/25, 19:33 </span>

    hey christian,

    thanks for the issue. this is not the job of the form extension. if there is a bug with e.g. a multibyte emoji in the core, the core needs to handle that. if you are sending stuff to an API, it is your job to deal with that.