{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/6616","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6616/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6616/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6616/events","html_url":"https://github.com/joomla/joomla-cms/pull/6616","id":65423083,"number":6616,"title":"Fix ReCAPTCHA Version 2 on pageload","user":{"login":"degobbis","id":10517822,"avatar_url":"https://avatars.githubusercontent.com/u/10517822?v=3","gravatar_id":"","url":"https://api.github.com/users/degobbis","html_url":"https://github.com/degobbis","followers_url":"https://api.github.com/users/degobbis/followers","following_url":"https://api.github.com/users/degobbis/following{/other_user}","gists_url":"https://api.github.com/users/degobbis/gists{/gist_id}","starred_url":"https://api.github.com/users/degobbis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/degobbis/subscriptions","organizations_url":"https://api.github.com/users/degobbis/orgs","repos_url":"https://api.github.com/users/degobbis/repos","events_url":"https://api.github.com/users/degobbis/events{/privacy}","received_events_url":"https://api.github.com/users/degobbis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-31T10:47:19Z","updated_at":"2015-03-31T11:41:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/6616","html_url":"https://github.com/joomla/joomla-cms/pull/6616","diff_url":"https://github.com/joomla/joomla-cms/pull/6616.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/6616.patch"},"body":"### What this PR do\r\n\r\nAt a german Support Forum we had the report that the new Captcha only loads on the seccond pageload. This PR trys to fix it.\r\nThis PR also remove the usage of `file_get_contents` and replace it with `JHttpFactory::getHttp()->post`\r\n\r\n### How to test\r\n\r\n- Enable the new captcha plugin (set version to 2)\r\n- Set the captcha as default at the global configuration (Backend --> Global Configuration --> Captcha)\r\n- Create a contact form menu entry with capcha enabled\r\n- access the  fronted view the first time\r\n- the v2 captcha should not show\r\n- try to reload the site\r\n- the capcha is shown\r\n- apply the patch\r\n- try again. It should load in the first site load\r\n\r\n### See the german forum\r\nhttp://forum.joomla.de/index.php/Thread/211-Google-recaptcha-ich-bin-kein-Roboter-l%C3%A4dt-nicht-immer/"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/88055547","html_url":"https://github.com/joomla/joomla-cms/pull/6616#issuecomment-88055547","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6616","id":88055547,"user":{"login":"zero-24","id":2596554,"avatar_url":"https://avatars.githubusercontent.com/u/2596554?v=3","gravatar_id":"","url":"https://api.github.com/users/zero-24","html_url":"https://github.com/zero-24","followers_url":"https://api.github.com/users/zero-24/followers","following_url":"https://api.github.com/users/zero-24/following{/other_user}","gists_url":"https://api.github.com/users/zero-24/gists{/gist_id}","starred_url":"https://api.github.com/users/zero-24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zero-24/subscriptions","organizations_url":"https://api.github.com/users/zero-24/orgs","repos_url":"https://api.github.com/users/zero-24/repos","events_url":"https://api.github.com/users/zero-24/events{/privacy}","received_events_url":"https://api.github.com/users/zero-24/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T11:41:18Z","updated_at":"2015-03-31T11:41:18Z","body":">Yes\r\n\r\nThanks this looks like a IE11 issue in combination with allow_url_fopen Off.\r\n\r\nAnd the strange is:\r\n\r\nBevor the patch\r\n- IE11 and allow_url_fopen Off --> don't work\r\n- But e.g. Chrome and allow_url_fopen Off --> work\r\n\r\nAfter the patch\r\n- IE11 and allow_url_fopen Off --> work\r\n- But e.g. Chrome and allow_url_fopen Off --> don't work"}}