{"action":"created","issue":{"url":"https://api.github.com/repos/flarum/core/issues/1498","repository_url":"https://api.github.com/repos/flarum/core","labels_url":"https://api.github.com/repos/flarum/core/issues/1498/labels{/name}","comments_url":"https://api.github.com/repos/flarum/core/issues/1498/comments","events_url":"https://api.github.com/repos/flarum/core/issues/1498/events","html_url":"https://github.com/flarum/core/issues/1498","id":338436185,"node_id":"MDU6SXNzdWUzMzg0MzYxODU=","number":1498,"title":"\"@\" and \"*\" crashing forum if searched","user":{"login":"TurboProgramming","id":17576065,"node_id":"MDQ6VXNlcjE3NTc2MDY1","avatar_url":"https://avatars3.githubusercontent.com/u/17576065?v=4","gravatar_id":"","url":"https://api.github.com/users/TurboProgramming","html_url":"https://github.com/TurboProgramming","followers_url":"https://api.github.com/users/TurboProgramming/followers","following_url":"https://api.github.com/users/TurboProgramming/following{/other_user}","gists_url":"https://api.github.com/users/TurboProgramming/gists{/gist_id}","starred_url":"https://api.github.com/users/TurboProgramming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TurboProgramming/subscriptions","organizations_url":"https://api.github.com/users/TurboProgramming/orgs","repos_url":"https://api.github.com/users/TurboProgramming/repos","events_url":"https://api.github.com/users/TurboProgramming/events{/privacy}","received_events_url":"https://api.github.com/users/TurboProgramming/received_events","type":"User","site_admin":false},"labels":[{"id":261018927,"node_id":"MDU6TGFiZWwyNjEwMTg5Mjc=","url":"https://api.github.com/repos/flarum/core/labels/Backend","name":"Backend","color":"eeeeee","default":false},{"id":159223101,"node_id":"MDU6TGFiZWwxNTkyMjMxMDE=","url":"https://api.github.com/repos/flarum/core/labels/Bug","name":"Bug","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-07-05T05:59:20Z","updated_at":"2018-07-13T21:13:26Z","closed_at":null,"author_association":"NONE","body":"## Bug Report\r\n\r\n**Current Behavior**\r\nI know, this is not something that prevents usability, but it crashes the forum: if I search for @ or * using the search bar, the forum will crash until the ?q=%40 or ?q=* gets deleted from the URL bar.\r\n\r\n**Steps to Reproduce**\r\n1. Go to homepage\r\n2. Search for @ or *\r\n3. See error\r\n\r\n**Expected Behavior**\r\nThe forum should really search for articles including those characters.\r\n\r\n**Screenshots**\r\n\r\nAfter searching for \"@\":\r\n\r\n![screenshot_2018-07-05 flarum community 1](https://user-images.githubusercontent.com/17576065/42304970-8154fffc-8031-11e8-8331-e0ec20717ace.png)\r\n\r\nAfter searching for \"*\":\r\n\r\n![screenshot_2018-07-05 flarum community 2](https://user-images.githubusercontent.com/17576065/42304973-8939694c-8031-11e8-8c74-f27d13a3cb61.png)\r\n\r\nAfter refreshing the website without deleting the search query from URL:\r\n\r\n![screenshot_2018-07-05 flarum community 3](https://user-images.githubusercontent.com/17576065/42304990-970022aa-8031-11e8-9cab-752158102b5d.png)\r\n\r\n**Environment**\r\nFlarum Community\r\nhttps://discuss.flarum.org\r\n\r\n**Additional Context**\r\nI only found these for now, but we may have other characters doing the same (or worse).\r\n"},"comment":{"url":"https://api.github.com/repos/flarum/core/issues/comments/404955618","html_url":"https://github.com/flarum/core/issues/1498#issuecomment-404955618","issue_url":"https://api.github.com/repos/flarum/core/issues/1498","id":404955618,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDk1NTYxOA==","user":{"login":"tobscure","id":128862,"node_id":"MDQ6VXNlcjEyODg2Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/128862?v=4","gravatar_id":"","url":"https://api.github.com/users/tobscure","html_url":"https://github.com/tobscure","followers_url":"https://api.github.com/users/tobscure/followers","following_url":"https://api.github.com/users/tobscure/following{/other_user}","gists_url":"https://api.github.com/users/tobscure/gists{/gist_id}","starred_url":"https://api.github.com/users/tobscure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobscure/subscriptions","organizations_url":"https://api.github.com/users/tobscure/orgs","repos_url":"https://api.github.com/users/tobscure/repos","events_url":"https://api.github.com/users/tobscure/events{/privacy}","received_events_url":"https://api.github.com/users/tobscure/received_events","type":"User","site_admin":false},"created_at":"2018-07-13T21:13:26Z","updated_at":"2018-07-13T21:13:26Z","author_association":"MEMBER","body":"Not even google goes that extra mile: https://www.google.com/search?q=*\r\nI don't think any user will expect to have meaningful search results when they search for just `*`."}}
{"actor":{"display_login":"tobscure"}}