{"action":"closed","issue":{"url":"https://api.github.com/repos/mitsuhiko/flask-website/issues/26","labels_url":"https://api.github.com/repos/mitsuhiko/flask-website/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/mitsuhiko/flask-website/issues/26/comments","events_url":"https://api.github.com/repos/mitsuhiko/flask-website/issues/26/events","html_url":"https://github.com/mitsuhiko/flask-website/issues/26","id":125834728,"number":26,"title":"Some searches involving “flash” throw a 500 error","user":{"login":"alexwlchan","id":301220,"avatar_url":"https://avatars.githubusercontent.com/u/301220?v=3","gravatar_id":"","url":"https://api.github.com/users/alexwlchan","html_url":"https://github.com/alexwlchan","followers_url":"https://api.github.com/users/alexwlchan/followers","following_url":"https://api.github.com/users/alexwlchan/following{/other_user}","gists_url":"https://api.github.com/users/alexwlchan/gists{/gist_id}","starred_url":"https://api.github.com/users/alexwlchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexwlchan/subscriptions","organizations_url":"https://api.github.com/users/alexwlchan/orgs","repos_url":"https://api.github.com/users/alexwlchan/repos","events_url":"https://api.github.com/users/alexwlchan/events{/privacy}","received_events_url":"https://api.github.com/users/alexwlchan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"mitsuhiko","id":7396,"avatar_url":"https://avatars.githubusercontent.com/u/7396?v=3","gravatar_id":"","url":"https://api.github.com/users/mitsuhiko","html_url":"https://github.com/mitsuhiko","followers_url":"https://api.github.com/users/mitsuhiko/followers","following_url":"https://api.github.com/users/mitsuhiko/following{/other_user}","gists_url":"https://api.github.com/users/mitsuhiko/gists{/gist_id}","starred_url":"https://api.github.com/users/mitsuhiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitsuhiko/subscriptions","organizations_url":"https://api.github.com/users/mitsuhiko/orgs","repos_url":"https://api.github.com/users/mitsuhiko/repos","events_url":"https://api.github.com/users/mitsuhiko/events{/privacy}","received_events_url":"https://api.github.com/users/mitsuhiko/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-01-10T17:59:18Z","updated_at":"2016-01-26T23:34:40Z","closed_at":"2016-01-26T23:34:40Z","body":"If I try to search for “flash”, I get a 500 error:\r\n\r\nhttp://flask.pocoo.org/search/?q=flash\r\n\r\nI’ve found a few other searches related to flash that seem to fail; they may or may not be related:\r\n\r\n* Leading/trailing whitespace, e.g. [“___flash”](http://flask.pocoo.org/search/?q=+++flash) or [“flash___”](http://flask.pocoo.org/search/?q=flash+++)\r\n* Leading/trailing words with one or three characters – “a flash”, “big flash”, “flash a” and “flash big” all fail.\r\n* “flashe” and “flashes” both fail – appending other characters seems okay.\r\n\r\nAnd some searches that work:\r\n\r\n* Prepending characters to “flash” – so “aflash”, “abflash”, “abcflash”, and so on seem to work.\r\n* Leading/trailing words with other numbers of characters – “hi flash”, “flash ab”, “flash abcd”, “high flash”, “highest flash” all work.\r\n\r\nRepro’d in Safari and Chrome on OS X. I’m coming from a UK-based ISP, if that’s significant.\r\n\r\nI was trying to search for the [pages on message flashing](http://flask.pocoo.org/docs/0.10/api/#message-flashing). I couldn’t find a pattern to rejected searches, except that they all involve the word “flash”."}}