{"action":"opened","issue":{"url":"https://api.github.com/repos/STNS/STNS/issues/41","repository_url":"https://api.github.com/repos/STNS/STNS","labels_url":"https://api.github.com/repos/STNS/STNS/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/STNS/STNS/issues/41/comments","events_url":"https://api.github.com/repos/STNS/STNS/issues/41/events","html_url":"https://github.com/STNS/STNS/issues/41","id":193683794,"number":41,"title":"Cannot use dots in username.","user":{"login":"etsnakano","id":17287381,"avatar_url":"https://avatars.githubusercontent.com/u/17287381?v=3","gravatar_id":"","url":"https://api.github.com/users/etsnakano","html_url":"https://github.com/etsnakano","followers_url":"https://api.github.com/users/etsnakano/followers","following_url":"https://api.github.com/users/etsnakano/following{/other_user}","gists_url":"https://api.github.com/users/etsnakano/gists{/gist_id}","starred_url":"https://api.github.com/users/etsnakano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etsnakano/subscriptions","organizations_url":"https://api.github.com/users/etsnakano/orgs","repos_url":"https://api.github.com/users/etsnakano/repos","events_url":"https://api.github.com/users/etsnakano/events{/privacy}","received_events_url":"https://api.github.com/users/etsnakano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-06T05:01:19Z","updated_at":"2016-12-06T05:01:19Z","closed_at":null,"body":"Hi, STNS is great project!\r\nBy the way, STNS cannot find \"dots included\" username.\r\n\r\n```\r\n### CONF\r\n$ cat /etc/stns/users.d/1000.conf\r\n[users.\"dot.user\"]\r\nid = 1000\r\ngroup_id = 1000\r\nshell = \"/bin/bash\"\r\ndirectory = \"/home/user/dot.user\"\r\n\r\n### TEST\r\n$ curl --user 'BASIC_AUTH' http://127.0.0.1:1104/v2/user/name/dot.user\r\n{\r\n  \"Error\": \"Resource not found\"\r\n}\r\n```\r\n\r\nDots are supported at key: [TOML](https://github.com/toml-lang/toml).\r\n> Dots are prohibited in bare keys because dots are used to signify nested tables. Naming rules for each dot separated part are the same as for keys (see definition of Key/Value Pairs).\r\n>\r\n>[dog.\"tater.man\"]\r\n>type = \"pug\"\r\n>\r\n>In JSON land, that would give you the following structure:\r\n>\r\n>{ \"dog\": { \"tater.man\": { \"type\": \"pug\" } } }\r\n\r\n-- Japanese --\r\nSTNSは素晴らしいプロジェクトですね。\r\nところで、STNSでドットを含むユーザー名が使用できません。\r\nTOML書式ではキーでのドットは許可されているようです。\r\n"}}
{"actor":{"display_login":"etsnakano"}}