arina-ielchiieva commented on a change in pull request #1864: DRILL-7351: Added 
tokens to Web forms to prevent CSRF attacks
URL: https://github.com/apache/drill/pull/1864#discussion_r329997319
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/util/Utilities.java
 ##########
 @@ -137,4 +141,16 @@ public static JaninoRelMetadataProvider 
registerJaninoRelMetadataProvider() {
     RelMetadataQuery.THREAD_PROVIDERS.set(relMetadataProvider);
     return relMetadataProvider;
   }
+
+  /**
+   * Retrieves the CSRF protection token from the HTTP request
 
 Review comment:
   ```suggestion
      * Retrieves the CSRF protection token from the HTTP request.
   ```

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to