GNOME Bugzilla – Bug 700729
It is possible to search for an "empty" string
Last modified: 2013-05-27 15:23:53 UTC
Typing a space in the search query box returns a search query containing all contacts. There is no validation of the search query to ensure that it contains useful characters (not just whitespace).
Created attachment 244832 [details] [review] Don't search for "empty" strings This ensures that a search is only performed if the query string contains at least one non-space character, so typing space in the search box no longer returns all contacts.
Created attachment 245115 [details] Screenshot showing the results from a white-space search query This demonstrates that pressing the spacebar in the search query field returns a list of all the contacts in the address book (names obscured).
Fixed. Pushed in here: https://git.gnome.org/browse/gnome-contacts/commit/?h=gnome-3-8&id=86a4ba7786efd20f71cad79dc8ab4327aed2da08 an here: https://git.gnome.org/browse/gnome-contacts/commit/?id=b3a206331667405726323ddda6f189756529234f