{"action":"created","issue":{"url":"https://api.github.com/repos/modxcms/revolution/issues/14024","repository_url":"https://api.github.com/repos/modxcms/revolution","labels_url":"https://api.github.com/repos/modxcms/revolution/issues/14024/labels{/name}","comments_url":"https://api.github.com/repos/modxcms/revolution/issues/14024/comments","events_url":"https://api.github.com/repos/modxcms/revolution/issues/14024/events","html_url":"https://github.com/modxcms/revolution/issues/14024","id":347092232,"node_id":"MDU6SXNzdWUzNDcwOTIyMzI=","number":14024,"title":"Invalid relative media source path shows root path contents","user":{"login":"opengeek","id":232812,"node_id":"MDQ6VXNlcjIzMjgxMg==","avatar_url":"https://avatars0.githubusercontent.com/u/232812?v=4","gravatar_id":"","url":"https://api.github.com/users/opengeek","html_url":"https://github.com/opengeek","followers_url":"https://api.github.com/users/opengeek/followers","following_url":"https://api.github.com/users/opengeek/following{/other_user}","gists_url":"https://api.github.com/users/opengeek/gists{/gist_id}","starred_url":"https://api.github.com/users/opengeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opengeek/subscriptions","organizations_url":"https://api.github.com/users/opengeek/orgs","repos_url":"https://api.github.com/users/opengeek/repos","events_url":"https://api.github.com/users/opengeek/events{/privacy}","received_events_url":"https://api.github.com/users/opengeek/received_events","type":"User","site_admin":false},"labels":[{"id":78025098,"node_id":"MDU6TGFiZWw3ODAyNTA5OA==","url":"https://api.github.com/repos/modxcms/revolution/labels/area-core","name":"area-core","color":"ededed","default":false},{"id":78025097,"node_id":"MDU6TGFiZWw3ODAyNTA5Nw==","url":"https://api.github.com/repos/modxcms/revolution/labels/bug","name":"bug","color":"fbca04","default":true},{"id":78029304,"node_id":"MDU6TGFiZWw3ODAyOTMwNA==","url":"https://api.github.com/repos/modxcms/revolution/labels/priority-2-high","name":"priority-2-high","color":"ec8285","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/modxcms/revolution/milestones/77","html_url":"https://github.com/modxcms/revolution/milestone/77","labels_url":"https://api.github.com/repos/modxcms/revolution/milestones/77/labels","id":2840865,"node_id":"MDk6TWlsZXN0b25lMjg0MDg2NQ==","number":77,"title":"v2.7.0","description":"","creator":{"login":"opengeek","id":232812,"node_id":"MDQ6VXNlcjIzMjgxMg==","avatar_url":"https://avatars0.githubusercontent.com/u/232812?v=4","gravatar_id":"","url":"https://api.github.com/users/opengeek","html_url":"https://github.com/opengeek","followers_url":"https://api.github.com/users/opengeek/followers","following_url":"https://api.github.com/users/opengeek/following{/other_user}","gists_url":"https://api.github.com/users/opengeek/gists{/gist_id}","starred_url":"https://api.github.com/users/opengeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opengeek/subscriptions","organizations_url":"https://api.github.com/users/opengeek/orgs","repos_url":"https://api.github.com/users/opengeek/repos","events_url":"https://api.github.com/users/opengeek/events{/privacy}","received_events_url":"https://api.github.com/users/opengeek/received_events","type":"User","site_admin":false},"open_issues":39,"closed_issues":50,"state":"open","created_at":"2017-10-16T16:29:50Z","updated_at":"2018-08-02T22:18:12Z","due_on":"2018-05-15T07:00:00Z","closed_at":null},"comments":1,"created_at":"2018-08-02T16:47:37Z","updated_at":"2018-08-09T18:29:17Z","closed_at":null,"author_association":"MEMBER","body":"### Summary\r\nIf you specify an invalid relative path for a Filesystem media source, it displays the contents of the server root folder.\r\n\r\n### Step to reproduce\r\nSpecify basePath as a non-existent relative path with the basePathRelative option set to Yes.\r\n\r\n### Observed behavior\r\nThe media source renders the contents of the root folder of the server.\r\n\r\n### Expected behavior\r\nIt should render nothing since the path is invalid and display some kind of error.\r\n\r\n### Environment\r\nMODX 2.x (latest), nginx 1.15.0, MariaDB 10.3.7, Chrome, MacOS 10.13.6"},"comment":{"url":"https://api.github.com/repos/modxcms/revolution/issues/comments/411853262","html_url":"https://github.com/modxcms/revolution/issues/14024#issuecomment-411853262","issue_url":"https://api.github.com/repos/modxcms/revolution/issues/14024","id":411853262,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTg1MzI2Mg==","user":{"login":"JoshuaLuckers","id":1268085,"node_id":"MDQ6VXNlcjEyNjgwODU=","avatar_url":"https://avatars0.githubusercontent.com/u/1268085?v=4","gravatar_id":"","url":"https://api.github.com/users/JoshuaLuckers","html_url":"https://github.com/JoshuaLuckers","followers_url":"https://api.github.com/users/JoshuaLuckers/followers","following_url":"https://api.github.com/users/JoshuaLuckers/following{/other_user}","gists_url":"https://api.github.com/users/JoshuaLuckers/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshuaLuckers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshuaLuckers/subscriptions","organizations_url":"https://api.github.com/users/JoshuaLuckers/orgs","repos_url":"https://api.github.com/users/JoshuaLuckers/repos","events_url":"https://api.github.com/users/JoshuaLuckers/events{/privacy}","received_events_url":"https://api.github.com/users/JoshuaLuckers/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T18:29:17Z","updated_at":"2018-08-09T18:29:17Z","author_association":"CONTRIBUTOR","body":"I've been trying to fix this.. but I really can't figure out why it happens.. "}}
{"actor":{"display_login":"JoshuaLuckers"}}