Skip to content

docs(15.10): describe the login form rate limit, multi-line X-Forwarded-For and (deny) permissions - #611

Merged
marevol merged 2 commits into
mainfrom
docs/1510-login-limit-forwarded-for-deny
Oct 25, 2026
Merged

marevol merged 2 commits into
mainfrom
docs/1510-login-limit-forwarded-for-deny

Conversation

@marevol

@marevol marevol commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Describes three 15.10 behavior changes that the 15.10 tree does not mention yet. Statements were checked on a running server (15.9.0 compared with 15.10.0-SNAPSHOT) unless marked as read from the code.

Changes

  • api-auth.rst: the theme.api.login.rate.limit.* limits also apply to the login form.
  • rate-limiting.rst: how several X-Forwarded-For lines are read.
  • upgrade.rst (15.9 to 15.10): the three changes, and that a (deny) line saved by 15.9 has to be written again.

All seven language trees are updated. The de, es, fr, ko and zh-cn texts are translations of the ja/en text and have not been reviewed by a native speaker.

Test plan

  • rst2html shows no underline or indent warnings on the changed files
  • Sphinx build

…ed-For and (deny) permissions

The three 15.10 behavior changes below are not in the 15.10 tree yet. What was
observed on a running server (public 15.9.0 compared with 15.10.0-SNAPSHOT) and
what was read from the code:

- Login form limit (fess#3675). Observed: five rejected passwords for one user
  name from one address make the sixth attempt, with the correct password, fail
  with the message of a rejected password; a failed attempt is counted per
  (address, user); 25 successful logins in a row are never refused. In 15.9.0
  the same sequence logs in. Read from the code, not observed: the per-address
  limit of the form.
- Multi-line X-Forwarded-For (fess#3680). Observed on /api/v2/auth/login: with a
  made-up first header line and the real address in a second line, 15.10 limits
  the attempts by the second line and 15.9.0 by the first. The same reading
  is shared by the login form.
- (deny) with a space (fess#3685). Observed through the admin API: 15.9.0 stores
  "(deny) {user}name" as the text " {user}name", the user still finds the
  document, and putting the returned value back stores "1name" (an allow);
  15.10 stores "D1name", hides the document and keeps it after the same PUT.
  Saving the edit screen goes through the same code, which was not exercised.

Changes:

- api-auth.rst: theme.api.login.rate.limit.* no longer applies only to
  /auth/login; the login form of the login page uses the same limits.
- rate-limiting.rst: X-Forwarded-For split over several header lines is read
  as one chain, from the right.
- upgrade.rst, "15.9 to 15.10": the login form limit, the multi-line
  X-Forwarded-For and the (deny) change. A setting saved by 15.9 is not repaired
  by the upgrade and has to be written again.

All seven language trees (de, en, es, fr, ja, ko, zh-cn) are updated, as the
other 15.10 documentation changes do.
@marevol
marevol merged commit 08cd87e into main Oct 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant