{"action":"created","issue":{"url":"https://api.github.com/repos/bobbystacksmash/Construct/issues/1","repository_url":"https://api.github.com/repos/bobbystacksmash/Construct","labels_url":"https://api.github.com/repos/bobbystacksmash/Construct/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/bobbystacksmash/Construct/issues/1/comments","events_url":"https://api.github.com/repos/bobbystacksmash/Construct/issues/1/events","html_url":"https://github.com/bobbystacksmash/Construct/issues/1","id":335166574,"node_id":"MDU6SXNzdWUzMzUxNjY1NzQ=","number":1,"title":"VFS is returning lower-case values for mixed-case paths","user":{"login":"bobbystacksmash","id":33038262,"node_id":"MDQ6VXNlcjMzMDM4MjYy","avatar_url":"https://avatars1.githubusercontent.com/u/33038262?v=4","gravatar_id":"","url":"https://api.github.com/users/bobbystacksmash","html_url":"https://github.com/bobbystacksmash","followers_url":"https://api.github.com/users/bobbystacksmash/followers","following_url":"https://api.github.com/users/bobbystacksmash/following{/other_user}","gists_url":"https://api.github.com/users/bobbystacksmash/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbystacksmash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbystacksmash/subscriptions","organizations_url":"https://api.github.com/users/bobbystacksmash/orgs","repos_url":"https://api.github.com/users/bobbystacksmash/repos","events_url":"https://api.github.com/users/bobbystacksmash/events{/privacy}","received_events_url":"https://api.github.com/users/bobbystacksmash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-24T09:54:45Z","updated_at":"2018-08-01T20:05:38Z","closed_at":null,"author_association":"OWNER","body":"The VFS should perform case-insensitive actions, which it _seems_ to do. However, when querying the file system using methods which return string-paths for file/folder names, the names are returned in lower-case only, even for mixed-case file/folders. For example:\r\n\r\nWe add the folder `FooBar`:\r\n`vfs.AddFolder(\"C:\\\\Hello\\\\FooBar\");`\r\n\r\nWhen fetching this file, `FooBar` becomes `foobar`:\r\n`vfs.FindFiles(\"C:\\\\Hello\", \"FooBar\"); // => [\"foobar\"]`\r\n\r\nWhile this isn't technically a problem because Windows' FS handling is case-insensitive by default, it's conceivable that usercode may expect the case to be returned correctly (such as string comparisons for file/folder paths).\r\n"},"comment":{"url":"https://api.github.com/repos/bobbystacksmash/Construct/issues/comments/409704265","html_url":"https://github.com/bobbystacksmash/Construct/issues/1#issuecomment-409704265","issue_url":"https://api.github.com/repos/bobbystacksmash/Construct/issues/1","id":409704265,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTcwNDI2NQ==","user":{"login":"bobbystacksmash","id":33038262,"node_id":"MDQ6VXNlcjMzMDM4MjYy","avatar_url":"https://avatars1.githubusercontent.com/u/33038262?v=4","gravatar_id":"","url":"https://api.github.com/users/bobbystacksmash","html_url":"https://github.com/bobbystacksmash","followers_url":"https://api.github.com/users/bobbystacksmash/followers","following_url":"https://api.github.com/users/bobbystacksmash/following{/other_user}","gists_url":"https://api.github.com/users/bobbystacksmash/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbystacksmash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbystacksmash/subscriptions","organizations_url":"https://api.github.com/users/bobbystacksmash/orgs","repos_url":"https://api.github.com/users/bobbystacksmash/repos","events_url":"https://api.github.com/users/bobbystacksmash/events{/privacy}","received_events_url":"https://api.github.com/users/bobbystacksmash/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T20:05:38Z","updated_at":"2018-08-01T20:05:38Z","author_association":"OWNER","body":"A technique which may be applicable here was done in `runtime/virtreg.js`. See the `resolve_path` method which uses a dictionary to map original keys to their normalised values."}}
{"actor":{"display_login":"bobbystacksmash"}}