github-advanced-security[bot] commented on code in PR #14903:
URL: https://github.com/apache/grails-core/pull/14903#discussion_r2206096446


##########
grails-gsp/core/src/main/groovy/org/grails/gsp/io/DefaultGroovyPageLocator.java:
##########
@@ -256,7 +259,7 @@
     private GroovyPageScriptSource 
resolveViewInPluginProjectDirectory(BinaryGrailsPlugin binaryPlugin, String 
uri) {
         File projectDirectory = binaryPlugin.getProjectDirectory();
         File f = new File(projectDirectory, "grails-app/views" + uri);
-        if(f.exists()) {
+        if (f.exists()) {

Review Comment:
   ## Uncontrolled data used in path expression
   
   This path depends on a [user-provided value](1).
   This path depends on a [user-provided value](2).
   
   [Show more 
details](https://github.com/apache/grails-core/security/code-scanning/25)



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

To unsubscribe, e-mail: notifications-unsubscr...@grails.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to