enapps-enorman commented on a change in pull request #7:
URL:
https://github.com/apache/sling-org-apache-sling-scripting-core/pull/7#discussion_r583100054
##########
File path:
src/main/java/org/apache/sling/scripting/core/impl/SlingBindingsVariablesListJsonServlet.java
##########
@@ -91,6 +102,24 @@ protected void activate(ComponentContext context) {
@Override
protected void doGet(SlingHttpServletRequest request,
SlingHttpServletResponse response)
throws ServletException, IOException {
+ if (webconsoleSecurity == null) {
+ log("Acccess forbidden as the WebConsoleSecurity reference is not
set");
Review comment:
whoops. I'll fix that now.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]