{"action":"created","issue":{"url":"https://api.github.com/repos/Citytechinc/cq-groovy-console/issues/34","repository_url":"https://api.github.com/repos/Citytechinc/cq-groovy-console","labels_url":"https://api.github.com/repos/Citytechinc/cq-groovy-console/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/Citytechinc/cq-groovy-console/issues/34/comments","events_url":"https://api.github.com/repos/Citytechinc/cq-groovy-console/issues/34/events","html_url":"https://github.com/Citytechinc/cq-groovy-console/issues/34","id":54298998,"number":34,"title":"Cannot load/execute scripts on 6.1.2 with dispatcher configured","user":{"login":"mchrominski","id":1091151,"avatar_url":"https://avatars.githubusercontent.com/u/1091151?v=3","gravatar_id":"","url":"https://api.github.com/users/mchrominski","html_url":"https://github.com/mchrominski","followers_url":"https://api.github.com/users/mchrominski/followers","following_url":"https://api.github.com/users/mchrominski/following{/other_user}","gists_url":"https://api.github.com/users/mchrominski/gists{/gist_id}","starred_url":"https://api.github.com/users/mchrominski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mchrominski/subscriptions","organizations_url":"https://api.github.com/users/mchrominski/orgs","repos_url":"https://api.github.com/users/mchrominski/repos","events_url":"https://api.github.com/users/mchrominski/events{/privacy}","received_events_url":"https://api.github.com/users/mchrominski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-14T09:10:23Z","updated_at":"2016-02-09T20:54:25Z","closed_at":null,"body":"When a CQ instance is behind dispatcher, it is quite often configured to restrict some dangerous paths like package manager (`/crx`), crxde (`/crxde`), OSGi console (`/system/console`). This is also encouraged by Adobe (http://docs.adobe.com/docs/en/dispatcher.html, http://docs.adobe.com/content/docs/en/dispatcher/_jcr_content/par/download/file.res/author_dispatcher_new.any).\r\n\r\nGroovy console in order to load the script stored in repository fetches resources through a CRX browser e..g `http://integration.groovytest.com/crx/server/crx.default/jcr%3aroot/etc/groovyconsole/scripts/samples/CreatePackage.groovy/jcr%3Acontent/jcr:data`. As the `crx` prefix is usually forbidden, it fails to load the data.\r\n\r\nPlease change the way the scripts are loaded to get the content directly e.g. `http://integration.groovytest.com/etc/groovyconsole/scripts/samples/CreatePackage.groovy/jcr%3Acontent/jcr:data`"},"comment":{"url":"https://api.github.com/repos/Citytechinc/cq-groovy-console/issues/comments/182062336","html_url":"https://github.com/Citytechinc/cq-groovy-console/issues/34#issuecomment-182062336","issue_url":"https://api.github.com/repos/Citytechinc/cq-groovy-console/issues/34","id":182062336,"user":{"login":"lykorian","id":498500,"avatar_url":"https://avatars.githubusercontent.com/u/498500?v=3","gravatar_id":"","url":"https://api.github.com/users/lykorian","html_url":"https://github.com/lykorian","followers_url":"https://api.github.com/users/lykorian/followers","following_url":"https://api.github.com/users/lykorian/following{/other_user}","gists_url":"https://api.github.com/users/lykorian/gists{/gist_id}","starred_url":"https://api.github.com/users/lykorian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lykorian/subscriptions","organizations_url":"https://api.github.com/users/lykorian/orgs","repos_url":"https://api.github.com/users/lykorian/repos","events_url":"https://api.github.com/users/lykorian/events{/privacy}","received_events_url":"https://api.github.com/users/lykorian/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T20:54:25Z","updated_at":"2016-02-09T20:54:25Z","body":"Fixed in develop."}}