{"action":"created","issue":{"url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/874","labels_url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/874/labels{/name}","comments_url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/874/comments","events_url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/874/events","html_url":"https://github.com/The-Compiler/qutebrowser/issues/874","id":101122929,"number":874,"title":"Spaces at End of Search Terms Are Truncated","user":{"login":"NoSuck","id":10365452,"avatar_url":"https://avatars.githubusercontent.com/u/10365452?v=3","gravatar_id":"","url":"https://api.github.com/users/NoSuck","html_url":"https://github.com/NoSuck","followers_url":"https://api.github.com/users/NoSuck/followers","following_url":"https://api.github.com/users/NoSuck/following{/other_user}","gists_url":"https://api.github.com/users/NoSuck/gists{/gist_id}","starred_url":"https://api.github.com/users/NoSuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoSuck/subscriptions","organizations_url":"https://api.github.com/users/NoSuck/orgs","repos_url":"https://api.github.com/users/NoSuck/repos","events_url":"https://api.github.com/users/NoSuck/events{/privacy}","received_events_url":"https://api.github.com/users/NoSuck/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/The-Compiler/qutebrowser/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-14T23:46:04Z","updated_at":"2015-08-15T22:22:50Z","closed_at":null,"body":"Currently, there doesn't appear to be a way to search an open page (/) for something with a space at the end, because trailing spaces are automatically deleted.\r\n\r\nI love you, qutebrowser.  Marry me."},"comment":{"url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/comments/131456652","html_url":"https://github.com/The-Compiler/qutebrowser/issues/874#issuecomment-131456652","issue_url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/874","id":131456652,"user":{"login":"The-Compiler","id":625793,"avatar_url":"https://avatars.githubusercontent.com/u/625793?v=3","gravatar_id":"","url":"https://api.github.com/users/The-Compiler","html_url":"https://github.com/The-Compiler","followers_url":"https://api.github.com/users/The-Compiler/followers","following_url":"https://api.github.com/users/The-Compiler/following{/other_user}","gists_url":"https://api.github.com/users/The-Compiler/gists{/gist_id}","starred_url":"https://api.github.com/users/The-Compiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/The-Compiler/subscriptions","organizations_url":"https://api.github.com/users/The-Compiler/orgs","repos_url":"https://api.github.com/users/The-Compiler/repos","events_url":"https://api.github.com/users/The-Compiler/events{/privacy}","received_events_url":"https://api.github.com/users/The-Compiler/received_events","type":"User","site_admin":false},"created_at":"2015-08-15T22:22:50Z","updated_at":"2015-08-15T22:22:50Z","body":"So doing `/foo ` internally calls `:search -- /foo ` which will use `split.simple_split()` (because it has `maxsplit=0` set). That will strip trailing whitespace... I'll have to think whether I should change this behavior generally and what other commands that'd impact.\r\n\r\nImpacted commands:\r\n\r\n```\r\n:quickmark-del\r\n:bookmark-del\r\n:openurl\r\n:spawn\r\n:quickmark-load\r\n:bookmark-load\r\n:search\r\n:jseval\r\n:debug-trace\r\n:debug-pyeval\r\n:set-cmd-text-command\r\n```\r\n"}}