thebigdb/thebigdb-issues

[Browser.thebigdb.com] Weird requests sent

Closed this issue · 1 comments

Looking at my logs, it seems that the data browser sometimes sends requests equivalent to:

{
  "nodes": {
    "0": {
      "exactly": "\n    \n  "
    },
    "1": {
      "exactly": "atomic radius"
    }
  },
  "nodes_count_min": "2",
  "uniquify_by_node": "2"
}

It seems to happen why you search for something and type "enter" instead of clicking on one. The results returned for the third node are then incorrect. I'm on it.

Fixed by disallowing entirely the "enter" from the search field. It should have never been there in the first place.