{"action":"created","issue":{"url":"https://api.github.com/repos/elixirdrops/kerosene/issues/10","repository_url":"https://api.github.com/repos/elixirdrops/kerosene","labels_url":"https://api.github.com/repos/elixirdrops/kerosene/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/elixirdrops/kerosene/issues/10/comments","events_url":"https://api.github.com/repos/elixirdrops/kerosene/issues/10/events","html_url":"https://github.com/elixirdrops/kerosene/issues/10","id":175555327,"number":10,"title":"URI.encode can't handle lists","user":{"login":"drapergeek","id":89965,"avatar_url":"https://avatars.githubusercontent.com/u/89965?v=3","gravatar_id":"","url":"https://api.github.com/users/drapergeek","html_url":"https://github.com/drapergeek","followers_url":"https://api.github.com/users/drapergeek/followers","following_url":"https://api.github.com/users/drapergeek/following{/other_user}","gists_url":"https://api.github.com/users/drapergeek/gists{/gist_id}","starred_url":"https://api.github.com/users/drapergeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drapergeek/subscriptions","organizations_url":"https://api.github.com/users/drapergeek/orgs","repos_url":"https://api.github.com/users/drapergeek/repos","events_url":"https://api.github.com/users/drapergeek/events{/privacy}","received_events_url":"https://api.github.com/users/drapergeek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-07T16:59:51Z","updated_at":"2016-09-08T12:21:59Z","closed_at":null,"body":"Hello!\r\n\r\nI was checking out your project for pagination and found what may be an issue for others. If you have a form that puts elements into a list for a single attribute. `URI.encode` can't handle that in the `build_query` function: https://github.com/elixirdrops/kerosene/blob/master/lib/kerosene/paginator.ex#L88. This throws an exception if you have something like `%{\"user_ids\" => [1,2]}`.\r\n\r\nI quickly checked and it seems that `Plug.Conn.Query.encode/2` can handle this and may be an appropriate replacement: https://hexdocs.pm/plug/Plug.Conn.Query.html#encode/2"},"comment":{"url":"https://api.github.com/repos/elixirdrops/kerosene/issues/comments/245580045","html_url":"https://github.com/elixirdrops/kerosene/issues/10#issuecomment-245580045","issue_url":"https://api.github.com/repos/elixirdrops/kerosene/issues/10","id":245580045,"user":{"login":"drapergeek","id":89965,"avatar_url":"https://avatars.githubusercontent.com/u/89965?v=3","gravatar_id":"","url":"https://api.github.com/users/drapergeek","html_url":"https://github.com/drapergeek","followers_url":"https://api.github.com/users/drapergeek/followers","following_url":"https://api.github.com/users/drapergeek/following{/other_user}","gists_url":"https://api.github.com/users/drapergeek/gists{/gist_id}","starred_url":"https://api.github.com/users/drapergeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drapergeek/subscriptions","organizations_url":"https://api.github.com/users/drapergeek/orgs","repos_url":"https://api.github.com/users/drapergeek/repos","events_url":"https://api.github.com/users/drapergeek/events{/privacy}","received_events_url":"https://api.github.com/users/drapergeek/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T12:21:59Z","updated_at":"2016-09-08T12:21:59Z","body":"I won't have time to send in a PR anytime soon so I wanted to let you know about the issue.\r\n\r\nFWIW, from your lock file, something else is already depending on Plug."}}
{"actor":{"display_login":"drapergeek"}}