{"action":"created","issue":{"url":"https://api.github.com/repos/bumptech/glide/issues/404","labels_url":"https://api.github.com/repos/bumptech/glide/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/bumptech/glide/issues/404/comments","events_url":"https://api.github.com/repos/bumptech/glide/issues/404/events","html_url":"https://github.com/bumptech/glide/issues/404","id":68186253,"number":404,"title":"Images do not load with OkHttp","user":{"login":"madamczewski","id":11247886,"avatar_url":"https://avatars.githubusercontent.com/u/11247886?v=3","gravatar_id":"","url":"https://api.github.com/users/madamczewski","html_url":"https://github.com/madamczewski","followers_url":"https://api.github.com/users/madamczewski/followers","following_url":"https://api.github.com/users/madamczewski/following{/other_user}","gists_url":"https://api.github.com/users/madamczewski/gists{/gist_id}","starred_url":"https://api.github.com/users/madamczewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madamczewski/subscriptions","organizations_url":"https://api.github.com/users/madamczewski/orgs","repos_url":"https://api.github.com/users/madamczewski/repos","events_url":"https://api.github.com/users/madamczewski/events{/privacy}","received_events_url":"https://api.github.com/users/madamczewski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-04-13T20:24:15Z","updated_at":"2015-04-14T14:53:51Z","closed_at":"2015-04-14T14:53:51Z","body":"**Glide Version/Integration library (if any): 3.6.0-SNAPSHOT / okhttp-integration:1.2.2\r\nDevice/Android Version: Sony Xperia T / 4.1, Samsung S3 mini / 4.2, Nexus 5 / 5.1\r\nIssue details/Repro steps:**\r\n\r\nI receive following exception when I try to load images using OkHttp:\r\n> java.io.IOException: Illegal character in path at index 87: http://jafolders.com/uploads/pages/55254ff073310028737b0000/normal_image_1428508658.jpg\r\ncom.bumptech.glide.load.model.Headers$1@41bc2110\r\n\r\nExample code:\r\n```java\r\nGlide.get(this).register(GlideUrl.class, InputStream.class, new OkHttpUrlLoader.Factory(new OkHttpClient()));\r\n\r\nGlide.with(this)\r\n        .load(imageUrl)\r\n        .into(new ViewTarget<ImageView, GlideDrawable>(imageView) {\r\n                    @Override\r\n                    public void onResourceReady(GlideDrawable resource, GlideAnimation<? super GlideDrawable> glideAnimation) {\r\n                        imageView.setImageDrawable(resource);\r\n                    }\r\n\r\n                    @Override\r\n                    public void onLoadFailed(Exception e, Drawable errorDrawable) {\r\n                        Log.e(TAG, \"error: \"  + e.getMessage());\r\n                    }\r\n                }); \r\n``` \r\n"},"comment":{"url":"https://api.github.com/repos/bumptech/glide/issues/comments/92890008","html_url":"https://github.com/bumptech/glide/issues/404#issuecomment-92890008","issue_url":"https://api.github.com/repos/bumptech/glide/issues/404","id":92890008,"user":{"login":"sjudd","id":1627211,"avatar_url":"https://avatars.githubusercontent.com/u/1627211?v=3","gravatar_id":"","url":"https://api.github.com/users/sjudd","html_url":"https://github.com/sjudd","followers_url":"https://api.github.com/users/sjudd/followers","following_url":"https://api.github.com/users/sjudd/following{/other_user}","gists_url":"https://api.github.com/users/sjudd/gists{/gist_id}","starred_url":"https://api.github.com/users/sjudd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjudd/subscriptions","organizations_url":"https://api.github.com/users/sjudd/orgs","repos_url":"https://api.github.com/users/sjudd/repos","events_url":"https://api.github.com/users/sjudd/events{/privacy}","received_events_url":"https://api.github.com/users/sjudd/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T14:53:51Z","updated_at":"2015-04-14T14:53:51Z","body":"Closed #407 after adding a new Snapshots page, let us know if anything still isn't clear."}}