{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/fresco/issues/306","labels_url":"https://api.github.com/repos/facebook/fresco/issues/306/labels{/name}","comments_url":"https://api.github.com/repos/facebook/fresco/issues/306/comments","events_url":"https://api.github.com/repos/facebook/fresco/issues/306/events","html_url":"https://github.com/facebook/fresco/issues/306","id":80345408,"number":306,"title":"URLs with asterisks don't load","user":{"login":"liujianying","id":6265414,"avatar_url":"https://avatars.githubusercontent.com/u/6265414?v=3","gravatar_id":"","url":"https://api.github.com/users/liujianying","html_url":"https://github.com/liujianying","followers_url":"https://api.github.com/users/liujianying/followers","following_url":"https://api.github.com/users/liujianying/following{/other_user}","gists_url":"https://api.github.com/users/liujianying/gists{/gist_id}","starred_url":"https://api.github.com/users/liujianying/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liujianying/subscriptions","organizations_url":"https://api.github.com/users/liujianying/orgs","repos_url":"https://api.github.com/users/liujianying/repos","events_url":"https://api.github.com/users/liujianying/events{/privacy}","received_events_url":"https://api.github.com/users/liujianying/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-25T02:12:58Z","updated_at":"2015-06-18T10:58:25Z","closed_at":"2015-06-18T10:58:25Z","body":"\r\nThis is my project address:https://github.com/liujianying/FrescoDemo \r\nUse Fresco \"version 0.5.0\r\ncompile 'com.facebook.fresco:fresco:0.5.0'\r\ncompile 'com.facebook.fresco:imagepipeline-okhttp:0.5.0'\r\nThis is the sample project in the URL:\r\nhttp://img.v89.com/group1/M08/04/22/rBAA11OtUeqAILyjAAC2I8VNHUU462_640*640.jpg\r\nhttp://img.v89.com/group1/M01/05/CF/rBAA11SJGj6ANUmYAAHYXsbUhAM483_640*640.jpg\r\nhttp://img.v89.com/group1/M07/05/CF/rBAA11SJGjuAYGYwAAHthrrvYrQ279_640*640.jpg\r\nhttp://img.v89.com/group1/M05/05/CE/rBAA11SIRc2AR95TAAFos2CSxNk102_640*640.jpg\r\nhttp://img.v89.com/group1/M05/05/CE/rBAA11SIRcaAC81hAAHeRIw0YkE550_640*640.jpg\r\nhttp://img.v89.com/group1/M05/05/CF/rBAA11SJCT2AaVvHAAFPnJV76ic597_640*640.jpg\r\nhttp://img.v89.com/group1/M01/05/CF/rBAA11SJCTiAPJeLAAFPo48Ykuk249_640*640.jpg\r\nhttp://img.v89.com/group1/M05/06/C9/rBAA11UhWACAcl-pAAG5ICOGh7I506_640*640.jpg\r\nhttp://img.v89.com/group1/M08/05/CF/rBAA11SJCTaAXAPXAAHyIyeKNgo933_640*640.jpg\r\n\r\n\r\n\r\nEngineering sample code here to view：https://github.com/liujianying/FrescoDemo"},"comment":{"url":"https://api.github.com/repos/facebook/fresco/issues/comments/113106544","html_url":"https://github.com/facebook/fresco/issues/306#issuecomment-113106544","issue_url":"https://api.github.com/repos/facebook/fresco/issues/306","id":113106544,"user":{"login":"tyronen","id":958570,"avatar_url":"https://avatars.githubusercontent.com/u/958570?v=3","gravatar_id":"","url":"https://api.github.com/users/tyronen","html_url":"https://github.com/tyronen","followers_url":"https://api.github.com/users/tyronen/followers","following_url":"https://api.github.com/users/tyronen/following{/other_user}","gists_url":"https://api.github.com/users/tyronen/gists{/gist_id}","starred_url":"https://api.github.com/users/tyronen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyronen/subscriptions","organizations_url":"https://api.github.com/users/tyronen/orgs","repos_url":"https://api.github.com/users/tyronen/repos","events_url":"https://api.github.com/users/tyronen/events{/privacy}","received_events_url":"https://api.github.com/users/tyronen/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T10:58:25Z","updated_at":"2015-06-18T10:58:25Z","body":"One of my colleagues took a look at your sample code.\r\n\r\nYou load the URI in MainActivity line 101 by parsing a string directly:\r\n\r\n    Uri.parse(arrayList.get(arg0))\r\n\r\nBecause it contains special characters, it should be escaped properly, like:\r\n\r\n```java\r\nString escapeUrl(String url) throws UnsupportingEncodingException {\r\n  return URLEncoder.encode(uri, \"UTF-8\").replace(\"*\", \"%2A\");\r\n}\r\n... \r\nUri.parse(escapeUrl(arrayList.get(arg0)))\r\n```"}}