{"action":"closed","number":554,"pull_request":{"url":"https://api.github.com/repos/defunkt/jquery-pjax/pulls/554","id":41954373,"html_url":"https://github.com/defunkt/jquery-pjax/pull/554","diff_url":"https://github.com/defunkt/jquery-pjax/pull/554.diff","patch_url":"https://github.com/defunkt/jquery-pjax/pull/554.patch","issue_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/554","number":554,"state":"closed","locked":false,"title":"Fix submit of form with input[name=action]","user":{"login":"SamyPesse","id":845425,"avatar_url":"https://avatars.githubusercontent.com/u/845425?v=3","gravatar_id":"","url":"https://api.github.com/users/SamyPesse","html_url":"https://github.com/SamyPesse","followers_url":"https://api.github.com/users/SamyPesse/followers","following_url":"https://api.github.com/users/SamyPesse/following{/other_user}","gists_url":"https://api.github.com/users/SamyPesse/gists{/gist_id}","starred_url":"https://api.github.com/users/SamyPesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamyPesse/subscriptions","organizations_url":"https://api.github.com/users/SamyPesse/orgs","repos_url":"https://api.github.com/users/SamyPesse/repos","events_url":"https://api.github.com/users/SamyPesse/events{/privacy}","received_events_url":"https://api.github.com/users/SamyPesse/received_events","type":"User","site_admin":false},"body":"If you have a form like:\r\n\r\n```html\r\n<form action=\"/test\" method=\"POST\">\r\n     <button name=\"action\" value=\"hello\">Hello</button>\r\n     <button name=\"action\" value=\"world\">World</button> \r\n</form>\r\n```\r\n\r\nThe form will be submitted to `/[object%20NodeList]` since `form.action` is equal to the NodeList of buttons.\r\n\r\nThis PR fixes it by using the attribute value instead of `form.action`.\r\n\r\nRelated: http://stackoverflow.com/questions/1378155/reading-form-action-property-in-ie6-if-form-has-a-field-named-action","created_at":"2015-08-08T13:44:18Z","updated_at":"2015-09-17T14:51:55Z","closed_at":"2015-09-17T14:51:55Z","merged_at":"2015-09-17T14:51:55Z","merge_commit_sha":"f69204744ee723acec2f839372620f887f844549","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/defunkt/jquery-pjax/pulls/554/commits","review_comments_url":"https://api.github.com/repos/defunkt/jquery-pjax/pulls/554/comments","review_comment_url":"https://api.github.com/repos/defunkt/jquery-pjax/pulls/comments{/number}","comments_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/554/comments","statuses_url":"https://api.github.com/repos/defunkt/jquery-pjax/statuses/6e2c7e5b123b2b3a0521d9cfda9ef802e20563ab","head":{"label":"SamyPesse:fix/formAction","ref":"fix/formAction","sha":"6e2c7e5b123b2b3a0521d9cfda9ef802e20563ab","user":{"login":"SamyPesse","id":845425,"avatar_url":"https://avatars.githubusercontent.com/u/845425?v=3","gravatar_id":"","url":"https://api.github.com/users/SamyPesse","html_url":"https://github.com/SamyPesse","followers_url":"https://api.github.com/users/SamyPesse/followers","following_url":"https://api.github.com/users/SamyPesse/following{/other_user}","gists_url":"https://api.github.com/users/SamyPesse/gists{/gist_id}","starred_url":"https://api.github.com/users/SamyPesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamyPesse/subscriptions","organizations_url":"https://api.github.com/users/SamyPesse/orgs","repos_url":"https://api.github.com/users/SamyPesse/repos","events_url":"https://api.github.com/users/SamyPesse/events{/privacy}","received_events_url":"https://api.github.com/users/SamyPesse/received_events","type":"User","site_admin":false},"repo":{"id":40179189,"name":"jquery-pjax","full_name":"SamyPesse/jquery-pjax","owner":{"login":"SamyPesse","id":845425,"avatar_url":"https://avatars.githubusercontent.com/u/845425?v=3","gravatar_id":"","url":"https://api.github.com/users/SamyPesse","html_url":"https://github.com/SamyPesse","followers_url":"https://api.github.com/users/SamyPesse/followers","following_url":"https://api.github.com/users/SamyPesse/following{/other_user}","gists_url":"https://api.github.com/users/SamyPesse/gists{/gist_id}","starred_url":"https://api.github.com/users/SamyPesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamyPesse/subscriptions","organizations_url":"https://api.github.com/users/SamyPesse/orgs","repos_url":"https://api.github.com/users/SamyPesse/repos","events_url":"https://api.github.com/users/SamyPesse/events{/privacy}","received_events_url":"https://api.github.com/users/SamyPesse/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SamyPesse/jquery-pjax","description":"pushState + ajax = pjax","fork":true,"url":"https://api.github.com/repos/SamyPesse/jquery-pjax","forks_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/forks","keys_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/teams","hooks_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/hooks","issue_events_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/issues/events{/number}","events_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/events","assignees_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/assignees{/user}","branches_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/branches{/branch}","tags_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/tags","blobs_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/git/refs{/sha}","trees_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/statuses/{sha}","languages_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/languages","stargazers_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/stargazers","contributors_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/contributors","subscribers_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/subscribers","subscription_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/subscription","commits_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/commits{/sha}","git_commits_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/git/commits{/sha}","comments_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/comments{/number}","issue_comment_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/issues/comments{/number}","contents_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/contents/{+path}","compare_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/merges","archive_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/downloads","issues_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/issues{/number}","pulls_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/pulls{/number}","milestones_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/milestones{/number}","notifications_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/labels{/name}","releases_url":"https://api.github.com/repos/SamyPesse/jquery-pjax/releases{/id}","created_at":"2015-08-04T10:45:40Z","updated_at":"2015-08-04T10:45:41Z","pushed_at":"2015-09-16T08:01:32Z","git_url":"git://github.com/SamyPesse/jquery-pjax.git","ssh_url":"git@github.com:SamyPesse/jquery-pjax.git","clone_url":"https://github.com/SamyPesse/jquery-pjax.git","svn_url":"https://github.com/SamyPesse/jquery-pjax","homepage":"http://pjax.heroku.com","size":822,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"defunkt:master","ref":"master","sha":"73ffcc5a6f7af3e1fffbb467bd092a98f9930198","user":{"login":"defunkt","id":2,"avatar_url":"https://avatars.githubusercontent.com/u/2?v=3","gravatar_id":"","url":"https://api.github.com/users/defunkt","html_url":"https://github.com/defunkt","followers_url":"https://api.github.com/users/defunkt/followers","following_url":"https://api.github.com/users/defunkt/following{/other_user}","gists_url":"https://api.github.com/users/defunkt/gists{/gist_id}","starred_url":"https://api.github.com/users/defunkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defunkt/subscriptions","organizations_url":"https://api.github.com/users/defunkt/orgs","repos_url":"https://api.github.com/users/defunkt/repos","events_url":"https://api.github.com/users/defunkt/events{/privacy}","received_events_url":"https://api.github.com/users/defunkt/received_events","type":"User","site_admin":true},"repo":{"id":1413492,"name":"jquery-pjax","full_name":"defunkt/jquery-pjax","owner":{"login":"defunkt","id":2,"avatar_url":"https://avatars.githubusercontent.com/u/2?v=3","gravatar_id":"","url":"https://api.github.com/users/defunkt","html_url":"https://github.com/defunkt","followers_url":"https://api.github.com/users/defunkt/followers","following_url":"https://api.github.com/users/defunkt/following{/other_user}","gists_url":"https://api.github.com/users/defunkt/gists{/gist_id}","starred_url":"https://api.github.com/users/defunkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defunkt/subscriptions","organizations_url":"https://api.github.com/users/defunkt/orgs","repos_url":"https://api.github.com/users/defunkt/repos","events_url":"https://api.github.com/users/defunkt/events{/privacy}","received_events_url":"https://api.github.com/users/defunkt/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/defunkt/jquery-pjax","description":"pushState + ajax = pjax","fork":false,"url":"https://api.github.com/repos/defunkt/jquery-pjax","forks_url":"https://api.github.com/repos/defunkt/jquery-pjax/forks","keys_url":"https://api.github.com/repos/defunkt/jquery-pjax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/defunkt/jquery-pjax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/defunkt/jquery-pjax/teams","hooks_url":"https://api.github.com/repos/defunkt/jquery-pjax/hooks","issue_events_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/events{/number}","events_url":"https://api.github.com/repos/defunkt/jquery-pjax/events","assignees_url":"https://api.github.com/repos/defunkt/jquery-pjax/assignees{/user}","branches_url":"https://api.github.com/repos/defunkt/jquery-pjax/branches{/branch}","tags_url":"https://api.github.com/repos/defunkt/jquery-pjax/tags","blobs_url":"https://api.github.com/repos/defunkt/jquery-pjax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/defunkt/jquery-pjax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/defunkt/jquery-pjax/git/refs{/sha}","trees_url":"https://api.github.com/repos/defunkt/jquery-pjax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/defunkt/jquery-pjax/statuses/{sha}","languages_url":"https://api.github.com/repos/defunkt/jquery-pjax/languages","stargazers_url":"https://api.github.com/repos/defunkt/jquery-pjax/stargazers","contributors_url":"https://api.github.com/repos/defunkt/jquery-pjax/contributors","subscribers_url":"https://api.github.com/repos/defunkt/jquery-pjax/subscribers","subscription_url":"https://api.github.com/repos/defunkt/jquery-pjax/subscription","commits_url":"https://api.github.com/repos/defunkt/jquery-pjax/commits{/sha}","git_commits_url":"https://api.github.com/repos/defunkt/jquery-pjax/git/commits{/sha}","comments_url":"https://api.github.com/repos/defunkt/jquery-pjax/comments{/number}","issue_comment_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/comments{/number}","contents_url":"https://api.github.com/repos/defunkt/jquery-pjax/contents/{+path}","compare_url":"https://api.github.com/repos/defunkt/jquery-pjax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/defunkt/jquery-pjax/merges","archive_url":"https://api.github.com/repos/defunkt/jquery-pjax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/defunkt/jquery-pjax/downloads","issues_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues{/number}","pulls_url":"https://api.github.com/repos/defunkt/jquery-pjax/pulls{/number}","milestones_url":"https://api.github.com/repos/defunkt/jquery-pjax/milestones{/number}","notifications_url":"https://api.github.com/repos/defunkt/jquery-pjax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/defunkt/jquery-pjax/labels{/name}","releases_url":"https://api.github.com/repos/defunkt/jquery-pjax/releases{/id}","created_at":"2011-02-26T02:44:18Z","updated_at":"2015-09-17T12:05:23Z","pushed_at":"2015-09-17T14:51:55Z","git_url":"git://github.com/defunkt/jquery-pjax.git","ssh_url":"git@github.com:defunkt/jquery-pjax.git","clone_url":"https://github.com/defunkt/jquery-pjax.git","svn_url":"https://github.com/defunkt/jquery-pjax","homepage":"http://pjax.heroku.com","size":2559,"stargazers_count":11973,"watchers_count":11973,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1423,"mirror_url":null,"open_issues_count":75,"forks":1423,"open_issues":75,"watchers":11973,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/defunkt/jquery-pjax/pulls/554"},"html":{"href":"https://github.com/defunkt/jquery-pjax/pull/554"},"issue":{"href":"https://api.github.com/repos/defunkt/jquery-pjax/issues/554"},"comments":{"href":"https://api.github.com/repos/defunkt/jquery-pjax/issues/554/comments"},"review_comments":{"href":"https://api.github.com/repos/defunkt/jquery-pjax/pulls/554/comments"},"review_comment":{"href":"https://api.github.com/repos/defunkt/jquery-pjax/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/defunkt/jquery-pjax/pulls/554/commits"},"statuses":{"href":"https://api.github.com/repos/defunkt/jquery-pjax/statuses/6e2c7e5b123b2b3a0521d9cfda9ef802e20563ab"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mislav","id":887,"avatar_url":"https://avatars.githubusercontent.com/u/887?v=3","gravatar_id":"","url":"https://api.github.com/users/mislav","html_url":"https://github.com/mislav","followers_url":"https://api.github.com/users/mislav/followers","following_url":"https://api.github.com/users/mislav/following{/other_user}","gists_url":"https://api.github.com/users/mislav/gists{/gist_id}","starred_url":"https://api.github.com/users/mislav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mislav/subscriptions","organizations_url":"https://api.github.com/users/mislav/orgs","repos_url":"https://api.github.com/users/mislav/repos","events_url":"https://api.github.com/users/mislav/events{/privacy}","received_events_url":"https://api.github.com/users/mislav/received_events","type":"User","site_admin":true},"comments":1,"review_comments":5,"commits":3,"additions":4,"deletions":3,"changed_files":1}}