{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/minetest/issues/4875","repository_url":"https://api.github.com/repos/minetest/minetest","labels_url":"https://api.github.com/repos/minetest/minetest/issues/4875/labels{/name}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/4875/comments","events_url":"https://api.github.com/repos/minetest/minetest/issues/4875/events","html_url":"https://github.com/minetest/minetest/issues/4875","id":194715939,"number":4875,"title":"Adding a slash into the world name creates new directory","user":{"login":"Wuzzy2","id":1675853,"avatar_url":"https://avatars.githubusercontent.com/u/1675853?v=3","gravatar_id":"","url":"https://api.github.com/users/Wuzzy2","html_url":"https://github.com/Wuzzy2","followers_url":"https://api.github.com/users/Wuzzy2/followers","following_url":"https://api.github.com/users/Wuzzy2/following{/other_user}","gists_url":"https://api.github.com/users/Wuzzy2/gists{/gist_id}","starred_url":"https://api.github.com/users/Wuzzy2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wuzzy2/subscriptions","organizations_url":"https://api.github.com/users/Wuzzy2/orgs","repos_url":"https://api.github.com/users/Wuzzy2/repos","events_url":"https://api.github.com/users/Wuzzy2/events{/privacy}","received_events_url":"https://api.github.com/users/Wuzzy2/received_events","type":"User","site_admin":false},"labels":[{"id":6769538,"url":"https://api.github.com/repos/minetest/minetest/labels/Bug","name":"Bug","color":"ff5050","default":false},{"id":285897422,"url":"https://api.github.com/repos/minetest/minetest/labels/Request%20/%20Suggestion","name":"Request / Suggestion","color":"8db4e0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-12-09T22:48:24Z","updated_at":"2016-12-28T11:06:56Z","closed_at":null,"body":"Tested in 0.4.14 on GNU/Linux.\r\n\r\nWhen you create a new world, and the world name has a slash anywhere in its name, the world is not created correctly. It seems that no world is created after clicking on “create”.\r\n\r\nE.g. if you enter “v/test”, Minetest will not create a world called “v/test”.\r\nI noticed that behind the scenes, in `worlds` Minetest creates the directory `v` which in turn contains `test`. As if Minetest interprets the user input as a directory tree.\r\n\r\nI suspect the issue may be similar on Windows, but with a backslash instead of a slash. This is not tested.\r\n\r\nI see two possible fixes:\r\n\r\n* Somehow escape these characters in the world directory name\r\n* Forbid to use this characters in world names"},"comment":{"url":"https://api.github.com/repos/minetest/minetest/issues/comments/269462420","html_url":"https://github.com/minetest/minetest/issues/4875#issuecomment-269462420","issue_url":"https://api.github.com/repos/minetest/minetest/issues/4875","id":269462420,"user":{"login":"red-001","id":12450071,"avatar_url":"https://avatars.githubusercontent.com/u/12450071?v=3","gravatar_id":"","url":"https://api.github.com/users/red-001","html_url":"https://github.com/red-001","followers_url":"https://api.github.com/users/red-001/followers","following_url":"https://api.github.com/users/red-001/following{/other_user}","gists_url":"https://api.github.com/users/red-001/gists{/gist_id}","starred_url":"https://api.github.com/users/red-001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/red-001/subscriptions","organizations_url":"https://api.github.com/users/red-001/orgs","repos_url":"https://api.github.com/users/red-001/repos","events_url":"https://api.github.com/users/red-001/events{/privacy}","received_events_url":"https://api.github.com/users/red-001/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T11:06:56Z","updated_at":"2016-12-28T11:06:56Z","body":"see #4962"}}
{"actor":{"display_login":"red-001"}}