You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2022/02/14 12:41:50 UTC
[ofbiz-framework] 02/02: Improved: Create a deny list to reject webshell tokens (OFBIZ-12324)
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit 2e0a6e4f8c7eab963284160d9f04be610224f981
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Mon Feb 14 13:41:06 2022 +0100
Improved: Create a deny list to reject webshell tokens (OFBIZ-12324)
OK, as ever I did not commit build.gradle because I have to have it
assume-unchanged with node.js version 13.14.0, I'm an outlaw
---
build.gradle | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build.gradle b/build.gradle
index 5cd3a71..35dc331 100644
--- a/build.gradle
+++ b/build.gradle
@@ -114,7 +114,7 @@ node {
// https://github.com/node-gradle/gradle-node-plugin/blob/2.2.4/README.md
// Set the work directory where node_modules should be located
- nodeModulesDir = file("${project.projectDir}/themes/common-theme/webapp/common/js")
+ nodeModulesDir = file("${project.projectDir}/themes/common-theme/webapp/common-theme/js")
// If you set a "CI" env var then ci only will be used:
// https://github.com/node-gradle/gradle-node-plugin/blob/master/docs/faq.md#how-do-i-use-npm-ci-instead-of-npm-install
npmInstallCommand = System.getenv("CI") ? 'ci' : 'install'
@@ -1016,7 +1016,7 @@ task cleanFooterFiles(group: cleanupGroup, description: 'clean generated footer
}
task cleanNpm(group: cleanupGroup, description: 'clean node modules') {
doLast {
- delete "${project.projectDir}/themes/common-theme/webapp/common/js/node_modules"
+ delete "${project.projectDir}/themes/common-theme/webapp/common-theme/js/node_modules"
}
}
/*