Review main Ready for review

98369[FEATURE] Add spam protection provider API to forms

Josua Vogel CR 0 V 0 Expert +1036 −135 updated 12/05/26, 18:44

Commit message

The honeypot was hard-wired into the form runtime, so every captcha or
bot detection extension shipped its own element, validator and
templates, and editors had to add that element to every form.

Spam protection providers now run on every page of a form: prepare()
before a page is rendered and verify() when it is submitted, before its
values are validated. They are enabled below
renderingOptions.spamProtection, per prototype or per form. The
honeypot becomes the first provider; its old rendering option still
applies and is deprecated.
Resolves: #111742
Releases: main
Change-Id: I6de7008626f0d04a98cb7eca40f2d0e8c53ddf88

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/69/98369/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/69/98369/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote

Merge conflicts 41

Show 36 more changes Show less

Issues 1

Files 42

Show 22 more files Show less

Review log 2

  1. Josua Vogel uploaded patch set 1 12/05/26, 16:37

  2. Josua Vogel wrote 12/05/26, 18:44

    Unset private