{"action":"created","issue":{"url":"https://api.github.com/repos/nmrugg/gulp-hash-src/issues/5","labels_url":"https://api.github.com/repos/nmrugg/gulp-hash-src/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/nmrugg/gulp-hash-src/issues/5/comments","events_url":"https://api.github.com/repos/nmrugg/gulp-hash-src/issues/5/events","html_url":"https://github.com/nmrugg/gulp-hash-src/pull/5","id":111605901,"number":5,"title":"Fix URI malformed issue for links with percent symbol","user":{"login":"andrey-hohlov","id":7358151,"avatar_url":"https://avatars.githubusercontent.com/u/7358151?v=3","gravatar_id":"","url":"https://api.github.com/users/andrey-hohlov","html_url":"https://github.com/andrey-hohlov","followers_url":"https://api.github.com/users/andrey-hohlov/followers","following_url":"https://api.github.com/users/andrey-hohlov/following{/other_user}","gists_url":"https://api.github.com/users/andrey-hohlov/gists{/gist_id}","starred_url":"https://api.github.com/users/andrey-hohlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrey-hohlov/subscriptions","organizations_url":"https://api.github.com/users/andrey-hohlov/orgs","repos_url":"https://api.github.com/users/andrey-hohlov/repos","events_url":"https://api.github.com/users/andrey-hohlov/events{/privacy}","received_events_url":"https://api.github.com/users/andrey-hohlov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-15T12:26:05Z","updated_at":"2015-10-19T15:49:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nmrugg/gulp-hash-src/pulls/5","html_url":"https://github.com/nmrugg/gulp-hash-src/pull/5","diff_url":"https://github.com/nmrugg/gulp-hash-src/pull/5.diff","patch_url":"https://github.com/nmrugg/gulp-hash-src/pull/5.patch"},"body":"Fix URI malformed issue for links with percent symbol\r\nhttps://github.com/nmrugg/gulp-hash-src/issues/4\r\nhttp://stackoverflow.com/questions/9064536/javascript-decodeuricomponent-malformed-uri-exception"},"comment":{"url":"https://api.github.com/repos/nmrugg/gulp-hash-src/issues/comments/149255270","html_url":"https://github.com/nmrugg/gulp-hash-src/pull/5#issuecomment-149255270","issue_url":"https://api.github.com/repos/nmrugg/gulp-hash-src/issues/5","id":149255270,"user":{"login":"nmrugg","id":387105,"avatar_url":"https://avatars.githubusercontent.com/u/387105?v=3","gravatar_id":"","url":"https://api.github.com/users/nmrugg","html_url":"https://github.com/nmrugg","followers_url":"https://api.github.com/users/nmrugg/followers","following_url":"https://api.github.com/users/nmrugg/following{/other_user}","gists_url":"https://api.github.com/users/nmrugg/gists{/gist_id}","starred_url":"https://api.github.com/users/nmrugg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmrugg/subscriptions","organizations_url":"https://api.github.com/users/nmrugg/orgs","repos_url":"https://api.github.com/users/nmrugg/repos","events_url":"https://api.github.com/users/nmrugg/events{/privacy}","received_events_url":"https://api.github.com/users/nmrugg/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T15:49:44Z","updated_at":"2015-10-19T15:49:44Z","body":"I've been a little busy, and took me a bit to be able to sit down and think about this. Is it just me or does this now just undo the very thing it's supposed to be doing?\r\n\r\nCorrect me if I'm wrong, but it seems that the problem is that if we try to `decodeURI()` a string that has not been `encodeURI()`'ed, it may throw an error. So, it seems like what we should do is use a `try`/`catch` block to ignore a malformed (or non-`encodeURI()`'ed) string.\r\n\r\nWhat do you think?"}}