{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-mobile/android-components/issues/1159","repository_url":"https://api.github.com/repos/mozilla-mobile/android-components","labels_url":"https://api.github.com/repos/mozilla-mobile/android-components/issues/1159/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-mobile/android-components/issues/1159/comments","events_url":"https://api.github.com/repos/mozilla-mobile/android-components/issues/1159/events","html_url":"https://github.com/mozilla-mobile/android-components/issues/1159","id":373551436,"node_id":"MDU6SXNzdWUzNzM1NTE0MzY=","number":1159,"title":"Unable to donwload a urls that contain prefix blob:","user":{"login":"Amejia481","id":773158,"node_id":"MDQ6VXNlcjc3MzE1OA==","avatar_url":"https://avatars2.githubusercontent.com/u/773158?v=4","gravatar_id":"","url":"https://api.github.com/users/Amejia481","html_url":"https://github.com/Amejia481","followers_url":"https://api.github.com/users/Amejia481/followers","following_url":"https://api.github.com/users/Amejia481/following{/other_user}","gists_url":"https://api.github.com/users/Amejia481/gists{/gist_id}","starred_url":"https://api.github.com/users/Amejia481/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amejia481/subscriptions","organizations_url":"https://api.github.com/users/Amejia481/orgs","repos_url":"https://api.github.com/users/Amejia481/repos","events_url":"https://api.github.com/users/Amejia481/events{/privacy}","received_events_url":"https://api.github.com/users/Amejia481/received_events","type":"User","site_admin":false},"labels":[{"id":1103073867,"node_id":"MDU6TGFiZWwxMTAzMDczODY3","url":"https://api.github.com/repos/mozilla-mobile/android-components/labels/%3Cdownload%3E","name":"<download>","color":"cdcdcd","default":false},{"id":874937799,"node_id":"MDU6TGFiZWw4NzQ5Mzc3OTk=","url":"https://api.github.com/repos/mozilla-mobile/android-components/labels/%F0%9F%90%9E%20bug","name":"🐞 bug","color":"d73a4a","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-24T15:47:50Z","updated_at":"2018-10-24T16:29:59Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"```\r\n java.lang.IllegalArgumentException: Can only download HTTP/HTTPS URIs: blob:https://\r\n        at android.app.DownloadManager$Request.<init>(DownloadManager.java:445)\r\n        at mozilla.components.feature.downloads.DownloadManager.download(DownloadManager.kt:63)\r\n        at mozilla.components.feature.downloads.DownloadManager.download$default(DownloadManager.kt:52)\r\n        at mozilla.components.feature.downloads.DownloadsFeature$showDialog$1.invoke(DownloadsFeature.kt:105)\r\n        at mozilla.components.feature.downloads.DownloadsFeature$showDialog$1.invoke(DownloadsFeature.kt:37)\r\n        at mozilla.components.feature.downloads.SimpleDownloadDialogFragment$onCreateDialog$$inlined$with$lambda$1.onClick(SimpleDownloadDialogFragment.kt:59)\r\n        at android.support.v7.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)\r\n        at android.os.Handler.dispatchMessage(Handler.java:102)\r\n        at android.os.Looper.loop(Looper.java:154)\r\n        at android.app.ActivityThread.main(ActivityThread.java:6165)\r\n        at java.lang.reflect.Method.invoke(Native Method)\r\n        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)\r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)\r\n```"},"comment":{"url":"https://api.github.com/repos/mozilla-mobile/android-components/issues/comments/432730339","html_url":"https://github.com/mozilla-mobile/android-components/issues/1159#issuecomment-432730339","issue_url":"https://api.github.com/repos/mozilla-mobile/android-components/issues/1159","id":432730339,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjczMDMzOQ==","user":{"login":"pocmo","id":89638,"node_id":"MDQ6VXNlcjg5NjM4","avatar_url":"https://avatars0.githubusercontent.com/u/89638?v=4","gravatar_id":"","url":"https://api.github.com/users/pocmo","html_url":"https://github.com/pocmo","followers_url":"https://api.github.com/users/pocmo/followers","following_url":"https://api.github.com/users/pocmo/following{/other_user}","gists_url":"https://api.github.com/users/pocmo/gists{/gist_id}","starred_url":"https://api.github.com/users/pocmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocmo/subscriptions","organizations_url":"https://api.github.com/users/pocmo/orgs","repos_url":"https://api.github.com/users/pocmo/repos","events_url":"https://api.github.com/users/pocmo/events{/privacy}","received_events_url":"https://api.github.com/users/pocmo/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T16:29:59Z","updated_at":"2018-10-24T16:29:59Z","author_association":"CONTRIBUTOR","body":"Short-term solution: Ignoring those download requests.\r\n\r\nLong-term: Saving the data behind the blob URL as Download.\r\n * GeckoView: https://bugzilla.mozilla.org/show_bug.cgi?id=1501735\r\n * WebView: Ouch! Maybe just ignore them in WebView: https://stackoverflow.com/questions/48892390/download-blob-file-from-website-inside-android-webviewclient/48954970#48954970"}}
{"actor":{"display_login":"pocmo"}}