Page MenuHomePhabricator

Trusted XFF string is incorrectly shown as untrusted in checkUserHelper.js
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Load Special:CheckUser
  • Run a check with the 'get edits' type

What happens?:
The XFF string is marked as being untrusted regardless of whether it actually was or wasn't trusted.

What should have happened instead?:
It should accurately represent whether it is or isn't trusted.

Example:

image.png (673×2 px, 195 KB)

Event Timeline

Dreamy_Jazz triaged this task as Medium priority.
Dreamy_Jazz updated the task description. (Show Details)

Change 887424 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@master] Use string key instead of boolean for whether an XFF is trusted

https://gerrit.wikimedia.org/r/887424

Change 887424 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Use string key instead of boolean for whether an XFF is trusted

https://gerrit.wikimedia.org/r/887424

The above patch fixes the problem and has gone out in this weeks train.