- On RC page select some filters and click the 'Quick links' button
- For the name of a filter press spacebar several times - the blank name will be saved.
Description
Details
Subject | Repo | Branch | Lines /- | |
---|---|---|---|---|
RCFilters: Treat saved query with multiple spaces as empty | mediawiki/core | master | 1 -3 |
Event Timeline
A SPACEBAR.
You know, @Etonkovidova, I've tried to set up guards against empty strings, and nulls, and make sure nothing can be saved if it's empty -- and the thought that someone would put in several spaces as a name to cheat the system into saving an empty query seriously never occurred to me.
My faith in humanity is inversely proportional to my faith in your ability to find the weirdest user-behavior available.
Change 353488 had a related patch set uploaded (by Mooeypoo; owner: Mooeypoo):
[mediawiki/core@master] RCFilters: Treat saved query with multiple spaces as empty
Change 353488 merged by jenkins-bot:
[mediawiki/core@master] RCFilters: Treat saved query with multiple spaces as empty
Check in betalabs - the issue is fixed:
- not possible to save blank filter names
- leading/trailing spaces spaces are truncated, including extra spaces between words (e.g. 'test[3 spaces] 1' will become 'test 1'
QA Recommendation: Resolve