{"action":"created","issue":{"url":"https://api.github.com/repos/silkimen/cordova-plugin-advanced-http/issues/121","repository_url":"https://api.github.com/repos/silkimen/cordova-plugin-advanced-http","labels_url":"https://api.github.com/repos/silkimen/cordova-plugin-advanced-http/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/silkimen/cordova-plugin-advanced-http/issues/121/comments","events_url":"https://api.github.com/repos/silkimen/cordova-plugin-advanced-http/issues/121/events","html_url":"https://github.com/silkimen/cordova-plugin-advanced-http/issues/121","id":335209483,"node_id":"MDU6SXNzdWUzMzUyMDk0ODM=","number":121,"title":"SyntaxError: Unexpected EOF","user":{"login":"Ralpharoo","id":24926020,"node_id":"MDQ6VXNlcjI0OTI2MDIw","avatar_url":"https://avatars1.githubusercontent.com/u/24926020?v=4","gravatar_id":"","url":"https://api.github.com/users/Ralpharoo","html_url":"https://github.com/Ralpharoo","followers_url":"https://api.github.com/users/Ralpharoo/followers","following_url":"https://api.github.com/users/Ralpharoo/following{/other_user}","gists_url":"https://api.github.com/users/Ralpharoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Ralpharoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ralpharoo/subscriptions","organizations_url":"https://api.github.com/users/Ralpharoo/orgs","repos_url":"https://api.github.com/users/Ralpharoo/repos","events_url":"https://api.github.com/users/Ralpharoo/events{/privacy}","received_events_url":"https://api.github.com/users/Ralpharoo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-24T20:36:51Z","updated_at":"2018-07-07T05:48:30Z","closed_at":"2018-07-07T05:48:30Z","author_association":"NONE","body":"I've been having great success with this plugin but have come unstuck on a certain URL.\r\n\r\nThis throws an unhandled exception 'SyntaxError: Unexpected EOF' error. I've stripped everything back to a basic example which fails every time (regardless of SSL and redirection settings):\r\n\r\n```\r\noptions = {\r\n  method: 'get',\r\n  data: { },\r\n  headers: { }\r\n};\r\n\r\ncordova.plugin.http.sendRequest('https://www.taste.com.au/recipes/loaded-potato-skins/iWP8BULY', options, function(response) {\r\n  // does not get called\r\n  console.log(response.status);\r\n}, function(response) {\r\n  // does not get called\r\n  console.log(response.status);\r\n});\r\n```\r\n\r\nAny idea what is happening here? I'm using PGB so do not have the source to debug locally.\r\n\r\nCheers,\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/silkimen/cordova-plugin-advanced-http/issues/comments/403190983","html_url":"https://github.com/silkimen/cordova-plugin-advanced-http/issues/121#issuecomment-403190983","issue_url":"https://api.github.com/repos/silkimen/cordova-plugin-advanced-http/issues/121","id":403190983,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzE5MDk4Mw==","user":{"login":"Ralpharoo","id":24926020,"node_id":"MDQ6VXNlcjI0OTI2MDIw","avatar_url":"https://avatars1.githubusercontent.com/u/24926020?v=4","gravatar_id":"","url":"https://api.github.com/users/Ralpharoo","html_url":"https://github.com/Ralpharoo","followers_url":"https://api.github.com/users/Ralpharoo/followers","following_url":"https://api.github.com/users/Ralpharoo/following{/other_user}","gists_url":"https://api.github.com/users/Ralpharoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Ralpharoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ralpharoo/subscriptions","organizations_url":"https://api.github.com/users/Ralpharoo/orgs","repos_url":"https://api.github.com/users/Ralpharoo/repos","events_url":"https://api.github.com/users/Ralpharoo/events{/privacy}","received_events_url":"https://api.github.com/users/Ralpharoo/received_events","type":"User","site_admin":false},"created_at":"2018-07-07T05:48:30Z","updated_at":"2018-07-07T05:48:30Z","author_association":"NONE","body":"No worries, understand your position. I've seen numerous other plugins implementing such workarounds as this will affect any Cordova user where these characters sneak in. Especially with this plugin where people pull content from external API endpoints/websites they do not have direct control of (which I presume is fairly common).\r\n\r\nI'll work around this from our end for now. Thanks for taking a look anyhow (and for your efforts updating this one). Cheers,"}}
{"actor":{"display_login":"Ralpharoo"}}