{"action":"created","issue":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/996","labels_url":"https://api.github.com/repos/fsprojects/Paket/issues/996/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/Paket/issues/996/comments","events_url":"https://api.github.com/repos/fsprojects/Paket/issues/996/events","html_url":"https://github.com/fsprojects/Paket/pull/996","id":101881318,"number":996,"title":"Escape file names in a NuGet compatible way","user":{"login":"will14smith","id":1028340,"avatar_url":"https://avatars.githubusercontent.com/u/1028340?v=3","gravatar_id":"","url":"https://api.github.com/users/will14smith","html_url":"https://github.com/will14smith","followers_url":"https://api.github.com/users/will14smith/followers","following_url":"https://api.github.com/users/will14smith/following{/other_user}","gists_url":"https://api.github.com/users/will14smith/gists{/gist_id}","starred_url":"https://api.github.com/users/will14smith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will14smith/subscriptions","organizations_url":"https://api.github.com/users/will14smith/orgs","repos_url":"https://api.github.com/users/will14smith/repos","events_url":"https://api.github.com/users/will14smith/events{/privacy}","received_events_url":"https://api.github.com/users/will14smith/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-19T12:30:37Z","updated_at":"2015-08-19T16:28:17Z","closed_at":"2015-08-19T16:28:12Z","pull_request":{"url":"https://api.github.com/repos/fsprojects/Paket/pulls/996","html_url":"https://github.com/fsprojects/Paket/pull/996","diff_url":"https://github.com/fsprojects/Paket/pull/996.diff","patch_url":"https://github.com/fsprojects/Paket/pull/996.patch"},"body":"Fixes #975 \r\n\r\nI did some digging into what NuGet was actually doing. The claim that it URL encodes the paths is technically correct, it just chooses a strange selection of categories to encode. Eventually it calls [this](\r\nhttp://referencesource.microsoft.com/#WindowsBase/Base/System/IO/Packaging/PackUriHelper.cs,915 ) where it does the actual encoding.\r\n\r\nI've also changed the extracting to URL decode the file paths.\r\n\r\nEdit: Repro script here: https://gist.github.com/will14smith/3c87a3ac7cc82cd0034b\r\n\r\n/cc @jamescrowley"},"comment":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/comments/132683278","html_url":"https://github.com/fsprojects/Paket/pull/996#issuecomment-132683278","issue_url":"https://api.github.com/repos/fsprojects/Paket/issues/996","id":132683278,"user":{"login":"forki","id":57396,"avatar_url":"https://avatars.githubusercontent.com/u/57396?v=3","gravatar_id":"","url":"https://api.github.com/users/forki","html_url":"https://github.com/forki","followers_url":"https://api.github.com/users/forki/followers","following_url":"https://api.github.com/users/forki/following{/other_user}","gists_url":"https://api.github.com/users/forki/gists{/gist_id}","starred_url":"https://api.github.com/users/forki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forki/subscriptions","organizations_url":"https://api.github.com/users/forki/orgs","repos_url":"https://api.github.com/users/forki/repos","events_url":"https://api.github.com/users/forki/events{/privacy}","received_events_url":"https://api.github.com/users/forki/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T16:28:16Z","updated_at":"2015-08-19T16:28:16Z","body":"cool stuff"}}