{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/837","repository_url":"https://api.github.com/repos/thoughtbot/capybara-webkit","labels_url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/837/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/837/comments","events_url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/837/events","html_url":"https://github.com/thoughtbot/capybara-webkit/issues/837","id":106241302,"number":837,"title":"Warnings about unknown URLs still produced when using allow_unknown_urls","user":{"login":"shepmaster","id":174509,"avatar_url":"https://avatars.githubusercontent.com/u/174509?v=3","gravatar_id":"","url":"https://api.github.com/users/shepmaster","html_url":"https://github.com/shepmaster","followers_url":"https://api.github.com/users/shepmaster/followers","following_url":"https://api.github.com/users/shepmaster/following{/other_user}","gists_url":"https://api.github.com/users/shepmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/shepmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shepmaster/subscriptions","organizations_url":"https://api.github.com/users/shepmaster/orgs","repos_url":"https://api.github.com/users/shepmaster/repos","events_url":"https://api.github.com/users/shepmaster/events{/privacy}","received_events_url":"https://api.github.com/users/shepmaster/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thoughtbot/capybara-webkit/labels/bug","name":"bug","color":"e10c02"}],"state":"open","locked":false,"assignee":{"login":"jferris","id":7591,"avatar_url":"https://avatars.githubusercontent.com/u/7591?v=3","gravatar_id":"","url":"https://api.github.com/users/jferris","html_url":"https://github.com/jferris","followers_url":"https://api.github.com/users/jferris/followers","following_url":"https://api.github.com/users/jferris/following{/other_user}","gists_url":"https://api.github.com/users/jferris/gists{/gist_id}","starred_url":"https://api.github.com/users/jferris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jferris/subscriptions","organizations_url":"https://api.github.com/users/jferris/orgs","repos_url":"https://api.github.com/users/jferris/repos","events_url":"https://api.github.com/users/jferris/events{/privacy}","received_events_url":"https://api.github.com/users/jferris/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/thoughtbot/capybara-webkit/milestones/8","html_url":"https://github.com/thoughtbot/capybara-webkit/milestones/1.10","labels_url":"https://api.github.com/repos/thoughtbot/capybara-webkit/milestones/8/labels","id":1685244,"number":8,"title":"1.10","description":"","creator":{"login":"jferris","id":7591,"avatar_url":"https://avatars.githubusercontent.com/u/7591?v=3","gravatar_id":"","url":"https://api.github.com/users/jferris","html_url":"https://github.com/jferris","followers_url":"https://api.github.com/users/jferris/followers","following_url":"https://api.github.com/users/jferris/following{/other_user}","gists_url":"https://api.github.com/users/jferris/gists{/gist_id}","starred_url":"https://api.github.com/users/jferris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jferris/subscriptions","organizations_url":"https://api.github.com/users/jferris/orgs","repos_url":"https://api.github.com/users/jferris/repos","events_url":"https://api.github.com/users/jferris/events{/privacy}","received_events_url":"https://api.github.com/users/jferris/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-04-05T17:30:17Z","updated_at":"2016-04-05T17:31:56Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2015-09-13T21:36:42Z","updated_at":"2016-04-05T18:32:22Z","closed_at":null,"body":"I have this configuration:\r\n\r\n```\r\nCapybara::Webkit.configure do |config|\r\n  config.allow_unknown_urls\r\n  config.ignore_ssl_errors\r\nend\r\n```\r\n\r\nBut I still get a warning when running my tests:\r\n\r\n```\r\nRequest to unknown URL: https://sub.localdomain.lan:449/api//pastry_kind/cake_color\r\nTo block requests to unknown URLs:\r\n  Capybara::Webkit.configure do |config|\r\n    config.block_unknown_urls\r\n  end\r\nTo allow just this URL:\r\n  Capybara::Webkit.configure do |config|\r\n    config.allow_url(\"https://sub.localdomain.lan:449/api//pastry_kind/cake_color\")\r\n  end\r\nTo allow requests to URLs from this host:\r\n  Capybara::Webkit.configure do |config|\r\n    config.allow_url(\"sub.localdomain.lan\")\r\n  end\r\n```\r\n\r\nLooking at the implementation of `allow_unknown_urls`, it seems pretty straight-forward, so I must be doing something silly somewhere. Is there any reason that the global allow wouldn't work?\r\n\r\nOther URLs that I access (there are multiple), all seem to work fine.\r\n\r\nVersions:\r\n\r\n```\r\nCapybara-Webkit 1.7.0\r\nCapybara 2.4.4\r\nRuby 2.2.3p173\r\nQt 4.8.6\r\n```"},"comment":{"url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/comments/205935512","html_url":"https://github.com/thoughtbot/capybara-webkit/issues/837#issuecomment-205935512","issue_url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/837","id":205935512,"user":{"login":"jferris","id":7591,"avatar_url":"https://avatars.githubusercontent.com/u/7591?v=3","gravatar_id":"","url":"https://api.github.com/users/jferris","html_url":"https://github.com/jferris","followers_url":"https://api.github.com/users/jferris/followers","following_url":"https://api.github.com/users/jferris/following{/other_user}","gists_url":"https://api.github.com/users/jferris/gists{/gist_id}","starred_url":"https://api.github.com/users/jferris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jferris/subscriptions","organizations_url":"https://api.github.com/users/jferris/orgs","repos_url":"https://api.github.com/users/jferris/repos","events_url":"https://api.github.com/users/jferris/events{/privacy}","received_events_url":"https://api.github.com/users/jferris/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T18:32:22Z","updated_at":"2016-04-05T18:32:22Z","body":"I submitted #895 which I believe will resolve the race condition."}}