{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/3840","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/3840/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/3840/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/3840/events","html_url":"https://github.com/joomla/joomla-cms/pull/3840","id":36762009,"number":3840,"title":"Removed unsafe eval() from compressed treeselectmenu script","user":{"login":"J0WI","id":5710638,"avatar_url":"https://avatars.githubusercontent.com/u/5710638?v=3","gravatar_id":"","url":"https://api.github.com/users/J0WI","html_url":"https://github.com/J0WI","followers_url":"https://api.github.com/users/J0WI/followers","following_url":"https://api.github.com/users/J0WI/following{/other_user}","gists_url":"https://api.github.com/users/J0WI/gists{/gist_id}","starred_url":"https://api.github.com/users/J0WI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J0WI/subscriptions","organizations_url":"https://api.github.com/users/J0WI/orgs","repos_url":"https://api.github.com/users/J0WI/repos","events_url":"https://api.github.com/users/J0WI/events{/privacy}","received_events_url":"https://api.github.com/users/J0WI/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-06-30T00:21:13Z","updated_at":"2015-01-13T19:56:51Z","closed_at":"2015-01-13T19:56:51Z","pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/3840","html_url":"https://github.com/joomla/joomla-cms/pull/3840","diff_url":"https://github.com/joomla/joomla-cms/pull/3840.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/3840.patch"},"body":"referring to issue #3837:\r\n\r\n> I'm using CSP on my server. Sadly, I have to allow unsafe-eval because of Joomla. There are more secure alternatives to eval():\r\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval#Don.27t_use_eval.21\r\nSee also http://www.w3.org/TR/CSP/#script-src"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/69808577","html_url":"https://github.com/joomla/joomla-cms/pull/3840#issuecomment-69808577","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/3840","id":69808577,"user":{"login":"J0WI","id":5710638,"avatar_url":"https://avatars.githubusercontent.com/u/5710638?v=3","gravatar_id":"","url":"https://api.github.com/users/J0WI","html_url":"https://github.com/J0WI","followers_url":"https://api.github.com/users/J0WI/followers","following_url":"https://api.github.com/users/J0WI/following{/other_user}","gists_url":"https://api.github.com/users/J0WI/gists{/gist_id}","starred_url":"https://api.github.com/users/J0WI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J0WI/subscriptions","organizations_url":"https://api.github.com/users/J0WI/orgs","repos_url":"https://api.github.com/users/J0WI/repos","events_url":"https://api.github.com/users/J0WI/events{/privacy}","received_events_url":"https://api.github.com/users/J0WI/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T19:56:51Z","updated_at":"2015-01-13T19:56:51Z","body":"Closed by #3902"}}