{"action":"created","issue":{"url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/315","labels_url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/315/comments","events_url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/315/events","html_url":"https://github.com/alliedmodders/sourcemod/pull/315","id":63587130,"number":315,"title":"Make DirExists(\"\") throw an error.","user":{"login":"psychonic","id":844118,"avatar_url":"https://avatars.githubusercontent.com/u/844118?v=3","gravatar_id":"","url":"https://api.github.com/users/psychonic","html_url":"https://github.com/psychonic","followers_url":"https://api.github.com/users/psychonic/followers","following_url":"https://api.github.com/users/psychonic/following{/other_user}","gists_url":"https://api.github.com/users/psychonic/gists{/gist_id}","starred_url":"https://api.github.com/users/psychonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psychonic/subscriptions","organizations_url":"https://api.github.com/users/psychonic/orgs","repos_url":"https://api.github.com/users/psychonic/repos","events_url":"https://api.github.com/users/psychonic/events{/privacy}","received_events_url":"https://api.github.com/users/psychonic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-22T22:50:43Z","updated_at":"2015-03-24T22:18:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alliedmodders/sourcemod/pulls/315","html_url":"https://github.com/alliedmodders/sourcemod/pull/315","diff_url":"https://github.com/alliedmodders/sourcemod/pull/315.diff","patch_url":"https://github.com/alliedmodders/sourcemod/pull/315.patch"},"body":"Apparently some (very few) plugins were relying on some undocumented behavior regarding passing an empty string to DirExists. SM was returning true, assuming that it referred to the current directory.\r\n\r\nThis change causes an error to be thrown in the case of an empty string being passed, similar to what we do for OpenDirectory. \".\" is still valid to explicitly work with the current directory."},"comment":{"url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/comments/85716240","html_url":"https://github.com/alliedmodders/sourcemod/pull/315#issuecomment-85716240","issue_url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/315","id":85716240,"user":{"login":"dvander","id":865306,"avatar_url":"https://avatars.githubusercontent.com/u/865306?v=3","gravatar_id":"","url":"https://api.github.com/users/dvander","html_url":"https://github.com/dvander","followers_url":"https://api.github.com/users/dvander/followers","following_url":"https://api.github.com/users/dvander/following{/other_user}","gists_url":"https://api.github.com/users/dvander/gists{/gist_id}","starred_url":"https://api.github.com/users/dvander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvander/subscriptions","organizations_url":"https://api.github.com/users/dvander/orgs","repos_url":"https://api.github.com/users/dvander/repos","events_url":"https://api.github.com/users/dvander/events{/privacy}","received_events_url":"https://api.github.com/users/dvander/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T22:18:28Z","updated_at":"2015-03-24T22:18:28Z","body":":ship:\r\n1. :egg:\r\n2. :egg:\r\n3. :egg:"}}