{"action":"created","issue":{"url":"https://api.github.com/repos/open-numbers/m-scripts/issues/38","labels_url":"https://api.github.com/repos/open-numbers/m-scripts/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/open-numbers/m-scripts/issues/38/comments","events_url":"https://api.github.com/repos/open-numbers/m-scripts/issues/38/events","html_url":"https://github.com/open-numbers/m-scripts/issues/38","id":121717048,"number":38,"title":"recognize any invalid character create_valid_ddf_ids","user":{"login":"olarosling","id":496398,"avatar_url":"https://avatars.githubusercontent.com/u/496398?v=3","gravatar_id":"","url":"https://api.github.com/users/olarosling","html_url":"https://github.com/olarosling","followers_url":"https://api.github.com/users/olarosling/followers","following_url":"https://api.github.com/users/olarosling/following{/other_user}","gists_url":"https://api.github.com/users/olarosling/gists{/gist_id}","starred_url":"https://api.github.com/users/olarosling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olarosling/subscriptions","organizations_url":"https://api.github.com/users/olarosling/orgs","repos_url":"https://api.github.com/users/olarosling/repos","events_url":"https://api.github.com/users/olarosling/events{/privacy}","received_events_url":"https://api.github.com/users/olarosling/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"srasel","id":12879054,"avatar_url":"https://avatars.githubusercontent.com/u/12879054?v=3","gravatar_id":"","url":"https://api.github.com/users/srasel","html_url":"https://github.com/srasel","followers_url":"https://api.github.com/users/srasel/followers","following_url":"https://api.github.com/users/srasel/following{/other_user}","gists_url":"https://api.github.com/users/srasel/gists{/gist_id}","starred_url":"https://api.github.com/users/srasel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srasel/subscriptions","organizations_url":"https://api.github.com/users/srasel/orgs","repos_url":"https://api.github.com/users/srasel/repos","events_url":"https://api.github.com/users/srasel/events{/privacy}","received_events_url":"https://api.github.com/users/srasel/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-12-11T14:25:37Z","updated_at":"2015-12-21T19:43:29Z","closed_at":null,"body":"* SHA: dc1c686ffee249b7ab47194b001e2dee75a11c88 \r\nHas a longer list of invalid characters. But it will miss lots of illegal characters. \r\nInstead of blacklisting illegal characters, we should use a whitelist.\r\nSo after replacing the known \"similar letters\" the script should \r\ntravers the string, and replace any other character with \"_\" \r\nWhen that is done, \r\nWe need to remove any double underscores, and any underscore at the end and beginning of string\r\nA valid ddf_id can not start or end with underscore, not can it have more than one underscore as separater.\r\nSee: https://github.com/open-numbers/Data-Description-Format-DDF/wiki/DDF-IDs"},"comment":{"url":"https://api.github.com/repos/open-numbers/m-scripts/issues/comments/166400661","html_url":"https://github.com/open-numbers/m-scripts/issues/38#issuecomment-166400661","issue_url":"https://api.github.com/repos/open-numbers/m-scripts/issues/38","id":166400661,"user":{"login":"srasel","id":12879054,"avatar_url":"https://avatars.githubusercontent.com/u/12879054?v=3","gravatar_id":"","url":"https://api.github.com/users/srasel","html_url":"https://github.com/srasel","followers_url":"https://api.github.com/users/srasel/followers","following_url":"https://api.github.com/users/srasel/following{/other_user}","gists_url":"https://api.github.com/users/srasel/gists{/gist_id}","starred_url":"https://api.github.com/users/srasel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srasel/subscriptions","organizations_url":"https://api.github.com/users/srasel/orgs","repos_url":"https://api.github.com/users/srasel/repos","events_url":"https://api.github.com/users/srasel/events{/privacy}","received_events_url":"https://api.github.com/users/srasel/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T19:43:29Z","updated_at":"2015-12-21T19:43:29Z","body":"Please review SHA: c5dcc1c87496e0c807b04c98395ae6a27db12c62. \r\nM-Script now contains a white list"}}