Core Rule Set: Drupal's JSON password reset takes an address (closes #262)
check / check (push) Successful in 11m19s

POST /user/password?_format=json with a mail of python3@example.com or
powershell@example.com was refused while bodies are read. On that path,
the JSON field mail now skips 932120 and 932260, the two rules the
recorded addresses set off, unless the query has a json.mail parameter.
Recorded from Drupal 11.4.11.

Model: opus-5-5
This commit is contained in:
sneak committed 2026-11-10 01:46:33 +00:00
1 parent c1bb813a5e
commit 133f6281e1
4 files changed
+61 -3

No files matched your search

+1
View File
@@ -977,6 +977,7 @@ requests. The changes hold in front of every app, and no setting undoes them:
- `name` and `pass` when signing in (930120, 932120, 932250, 932260).
- `name` when resetting a password through Drupal's JSON format on
`/user/password`, for the same four rules.
- `mail` in that same reset, for 932120 and 932260 only.
- `name` when signing up, editing an account and commenting without an
account, for the same four rules.
- `mail` on those forms, for 930120, 932120 and 932260 only.