{"action":"closed","issue":{"url":"https://api.github.com/repos/dom111/webdav-js/issues/4","repository_url":"https://api.github.com/repos/dom111/webdav-js","labels_url":"https://api.github.com/repos/dom111/webdav-js/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/dom111/webdav-js/issues/4/comments","events_url":"https://api.github.com/repos/dom111/webdav-js/issues/4/events","html_url":"https://github.com/dom111/webdav-js/issues/4","id":348664306,"node_id":"MDU6SXNzdWUzNDg2NjQzMDY=","number":4,"title":"Percent encoding in folder names","user":{"login":"chrysn","id":442326,"node_id":"MDQ6VXNlcjQ0MjMyNg==","avatar_url":"https://avatars2.githubusercontent.com/u/442326?v=4","gravatar_id":"","url":"https://api.github.com/users/chrysn","html_url":"https://github.com/chrysn","followers_url":"https://api.github.com/users/chrysn/followers","following_url":"https://api.github.com/users/chrysn/following{/other_user}","gists_url":"https://api.github.com/users/chrysn/gists{/gist_id}","starred_url":"https://api.github.com/users/chrysn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrysn/subscriptions","organizations_url":"https://api.github.com/users/chrysn/orgs","repos_url":"https://api.github.com/users/chrysn/repos","events_url":"https://api.github.com/users/chrysn/events{/privacy}","received_events_url":"https://api.github.com/users/chrysn/received_events","type":"User","site_admin":false},"labels":[{"id":11009295,"node_id":"MDU6TGFiZWwxMTAwOTI5NQ==","url":"https://api.github.com/repos/dom111/webdav-js/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"dom111","id":842680,"node_id":"MDQ6VXNlcjg0MjY4MA==","avatar_url":"https://avatars1.githubusercontent.com/u/842680?v=4","gravatar_id":"","url":"https://api.github.com/users/dom111","html_url":"https://github.com/dom111","followers_url":"https://api.github.com/users/dom111/followers","following_url":"https://api.github.com/users/dom111/following{/other_user}","gists_url":"https://api.github.com/users/dom111/gists{/gist_id}","starred_url":"https://api.github.com/users/dom111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dom111/subscriptions","organizations_url":"https://api.github.com/users/dom111/orgs","repos_url":"https://api.github.com/users/dom111/repos","events_url":"https://api.github.com/users/dom111/events{/privacy}","received_events_url":"https://api.github.com/users/dom111/received_events","type":"User","site_admin":false},"assignees":[{"login":"dom111","id":842680,"node_id":"MDQ6VXNlcjg0MjY4MA==","avatar_url":"https://avatars1.githubusercontent.com/u/842680?v=4","gravatar_id":"","url":"https://api.github.com/users/dom111","html_url":"https://github.com/dom111","followers_url":"https://api.github.com/users/dom111/followers","following_url":"https://api.github.com/users/dom111/following{/other_user}","gists_url":"https://api.github.com/users/dom111/gists{/gist_id}","starred_url":"https://api.github.com/users/dom111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dom111/subscriptions","organizations_url":"https://api.github.com/users/dom111/orgs","repos_url":"https://api.github.com/users/dom111/repos","events_url":"https://api.github.com/users/dom111/events{/privacy}","received_events_url":"https://api.github.com/users/dom111/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-08-08T10:20:33Z","updated_at":"2018-08-13T07:32:39Z","closed_at":"2018-08-13T07:32:39Z","author_association":"NONE","body":"When listing the contents of a folder with files containing whitespace or other characters, percent-encoded names are shown.\r\n\r\nThis is probably because the links (eg. `<D:href>http://.../Some%20Name/</D:href>`) are are taken literally and shown as a link to `Some%20Name` rather than `Some Name`. Unless there is a better indication, I think it makes that file and folder names, when prepared for display, are percent-decoded and interpreted as UTF-8, or possibly using the encoding of the HTML file.\r\n\r\nI tested this with files served by lighttpd which sends no displayname; I did not test this with a WebDAV server that does send a displayname. (Mainly because nginx, which is the server I know to do that, has a [bug](https://github.com/arut/nginx-dav-ext-module/pull/15) that would cause the exactly same error on its own)."}}
{"actor":{"display_login":"dom111"}}