{"action":"created","issue":{"url":"https://api.github.com/repos/leafo/lapis/issues/346","labels_url":"https://api.github.com/repos/leafo/lapis/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/leafo/lapis/issues/346/comments","events_url":"https://api.github.com/repos/leafo/lapis/issues/346/events","html_url":"https://github.com/leafo/lapis/issues/346","id":115938857,"number":346,"title":"Missing correct parsing array form multiple select passing via POST request","user":{"login":"Tarhan","id":5427484,"avatar_url":"https://avatars.githubusercontent.com/u/5427484?v=3","gravatar_id":"","url":"https://api.github.com/users/Tarhan","html_url":"https://github.com/Tarhan","followers_url":"https://api.github.com/users/Tarhan/followers","following_url":"https://api.github.com/users/Tarhan/following{/other_user}","gists_url":"https://api.github.com/users/Tarhan/gists{/gist_id}","starred_url":"https://api.github.com/users/Tarhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tarhan/subscriptions","organizations_url":"https://api.github.com/users/Tarhan/orgs","repos_url":"https://api.github.com/users/Tarhan/repos","events_url":"https://api.github.com/users/Tarhan/events{/privacy}","received_events_url":"https://api.github.com/users/Tarhan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-09T18:43:41Z","updated_at":"2015-11-16T21:41:22Z","closed_at":null,"body":"I've problem with parsing multiple values passing from my form.\r\nI've following pseudo-code:\r\n```html\r\n<form action=\"add\">\r\n  <select name=\"list[]\" multiple=\"multiple\">\r\n     <option value=\"1\">1</option>\r\n     ...\r\n     <option value=\"99\">99</option>\r\n  </select>\r\n</form>\r\n```\r\nFor example if I select 2 and 47 after clicking submit button browser sends correct POST requests with following content:\r\n```\r\nlist[]=2&list[]=47\r\n```\r\nLapis parses it as array in **self.params.list** param.\r\n**BUT** it contains only single value despite items count I select.\r\n\r\nIs there simple solution to receive all selected values?\r\nIf there no please correct this bug as soon as possible.\r\n"},"comment":{"url":"https://api.github.com/repos/leafo/lapis/issues/comments/157179348","html_url":"https://github.com/leafo/lapis/issues/346#issuecomment-157179348","issue_url":"https://api.github.com/repos/leafo/lapis/issues/346","id":157179348,"user":{"login":"Romaboy","id":2934876,"avatar_url":"https://avatars.githubusercontent.com/u/2934876?v=3","gravatar_id":"","url":"https://api.github.com/users/Romaboy","html_url":"https://github.com/Romaboy","followers_url":"https://api.github.com/users/Romaboy/followers","following_url":"https://api.github.com/users/Romaboy/following{/other_user}","gists_url":"https://api.github.com/users/Romaboy/gists{/gist_id}","starred_url":"https://api.github.com/users/Romaboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Romaboy/subscriptions","organizations_url":"https://api.github.com/users/Romaboy/orgs","repos_url":"https://api.github.com/users/Romaboy/repos","events_url":"https://api.github.com/users/Romaboy/events{/privacy}","received_events_url":"https://api.github.com/users/Romaboy/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T21:41:22Z","updated_at":"2015-11-16T21:41:22Z","body":"Try this:\r\ninspect = require 'inspect'\r\nprint inspect ngx.req.get_query_args()\r\nIt will show all query params in console."}}