{"action":"created","issue":{"url":"https://api.github.com/repos/kzahel/web-server-chrome/issues/16","labels_url":"https://api.github.com/repos/kzahel/web-server-chrome/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/kzahel/web-server-chrome/issues/16/comments","events_url":"https://api.github.com/repos/kzahel/web-server-chrome/issues/16/events","html_url":"https://github.com/kzahel/web-server-chrome/pull/16","id":59418547,"number":16,"title":"Better support for arbitrary filenames in directories","user":{"login":"sheepmaster","id":12303,"avatar_url":"https://avatars.githubusercontent.com/u/12303?v=3","gravatar_id":"","url":"https://api.github.com/users/sheepmaster","html_url":"https://github.com/sheepmaster","followers_url":"https://api.github.com/users/sheepmaster/followers","following_url":"https://api.github.com/users/sheepmaster/following{/other_user}","gists_url":"https://api.github.com/users/sheepmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/sheepmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheepmaster/subscriptions","organizations_url":"https://api.github.com/users/sheepmaster/orgs","repos_url":"https://api.github.com/users/sheepmaster/repos","events_url":"https://api.github.com/users/sheepmaster/events{/privacy}","received_events_url":"https://api.github.com/users/sheepmaster/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-01T21:30:56Z","updated_at":"2015-03-01T22:05:22Z","closed_at":"2015-03-01T22:01:59Z","pull_request":{"url":"https://api.github.com/repos/kzahel/web-server-chrome/pulls/16","html_url":"https://github.com/kzahel/web-server-chrome/pull/16","diff_url":"https://github.com/kzahel/web-server-chrome/pull/16.diff","patch_url":"https://github.com/kzahel/web-server-chrome/pull/16.patch"},"body":"* Use UTF-8 for encoding and decoding the names of directory entries (before that, only the least significant byte of a codepoint > 255 was used, which meant that the link in the directory listing pointed to a non-existing path)\r\n* HTML-escape directory entries, to deal with filenames that have quotes and angle brackets, and to defend against XSS attacks."},"comment":{"url":"https://api.github.com/repos/kzahel/web-server-chrome/issues/comments/76633898","html_url":"https://github.com/kzahel/web-server-chrome/pull/16#issuecomment-76633898","issue_url":"https://api.github.com/repos/kzahel/web-server-chrome/issues/16","id":76633898,"user":{"login":"kzahel","id":158352,"avatar_url":"https://avatars.githubusercontent.com/u/158352?v=3","gravatar_id":"","url":"https://api.github.com/users/kzahel","html_url":"https://github.com/kzahel","followers_url":"https://api.github.com/users/kzahel/followers","following_url":"https://api.github.com/users/kzahel/following{/other_user}","gists_url":"https://api.github.com/users/kzahel/gists{/gist_id}","starred_url":"https://api.github.com/users/kzahel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kzahel/subscriptions","organizations_url":"https://api.github.com/users/kzahel/orgs","repos_url":"https://api.github.com/users/kzahel/repos","events_url":"https://api.github.com/users/kzahel/events{/privacy}","received_events_url":"https://api.github.com/users/kzahel/received_events","type":"User","site_admin":false},"created_at":"2015-03-01T22:05:22Z","updated_at":"2015-03-01T22:05:22Z","body":"Thanks! I'd say it's probably already safe to assume >= chrome 38. I've been using encoder.js https://github.com/kzahel/jstorrent/blob/fresh/js/deps/encoding.js for a while now and it's nice to know that there's a native implementation"}}