57

As you can see in the screencast below I can create as many filters with whitespace characters only as I want. Is this by design or should it be raised as a bug?

enter image description here

Once another filter is active, all whitespace characters only filters become inaccessible. You can't click on them from the dropdown menu and you cannot edit them anymore from the "Saved Filters" box.

enter image description here

It is also possible to create filters with names that look the same: (just prepend or append some whitespaces to the name)

enter image description here

11
  • 1
    How do i filter, i don't even have the "more" dropdown. Commented May 13, 2019 at 3:17
  • 3
    @U9-Forward I believe it's the "Custom Question Lists" option on your profile's Preferences page.
    – Mike M.
    Commented May 13, 2019 at 3:31
  • If I'm not mistaken, that filter doesn't even work terribly well. Does it filter out anything?
    – VLAZ
    Commented May 13, 2019 at 7:09
  • 36
    There is always one input box which is not sanitised somewhere in a site.
    – Gimby
    Commented May 13, 2019 at 8:52
  • 1
    If you want to enable it, go here: stackoverflow.com/users/preferences/me
    – grooveplex
    Commented May 13, 2019 at 12:04
  • 1
    This isn't quite so big of an issue as it might be on an email service or something...I doubt anyone would hack your SE account in order to stealthily ensure you don't answer questions before them.
    – rydwolf
    Commented May 13, 2019 at 12:42
  • 31
    @RedwolfPrograms I'm not entirely sure what your point is. I'm not concerned with security but more about the user experience. The current implementation seems to assume that people don't make mistake. As I have demonstrated it, you can potentially create a filter with an empty name and never be able to correct it. While this isn't a security flaw it seems wrong from a user experience point of view. Commented May 13, 2019 at 13:16
  • @customcommander Ah, well, that's what my first thought is in these sorts of matters.
    – rydwolf
    Commented May 13, 2019 at 20:39
  • Leading whitespace in filters seems like an unuseful feature. Trailing whitespace as well.
    – xiaodeaux
    Commented May 14, 2019 at 19:41
  • 1
    i was trying to test if these ghost named filters could be accessed using keyboard navigation.. but this bug seems to be fixed now.
    – ocæon
    Commented May 14, 2019 at 23:08
  • @ocæon Yep, it looks like they rolled out a fix. Thanks for letting me know, I'll mark this question as answered. Commented May 15, 2019 at 6:40

1 Answer 1

4

Should we prevent filters with empty names?

The answer seems to be Yes as the issue has been fixed now.

enter image description here

1
  • 1
    trimming input goes a long way.
    – Persijn
    Commented May 15, 2019 at 9:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .