This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release24.09 by this push:
new c0892666ae Fixed: OFBiz entity import screen is broken (OFBIZ-13308)
c0892666ae is described below
commit c0892666ae94116759a781bdad52a8f34edc3a8b
Author: Jacques Le Roux <[email protected]>
AuthorDate: Tue Oct 28 05:27:25 2025 +0100
Fixed: OFBiz entity import screen is broken (OFBIZ-13308)
The fix is easy, just bypass the "Prevents stream exploitation" block like
for
EntityImport.This is the same than the previous commit.
Conflict handled by hand
---
.../src/main/java/org/apache/ofbiz/webapp/control/ControlFilter.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlFilter.java
b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlFilter.java
index 0201d92b03..cc1845fdba 100644
---
a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlFilter.java
+++
b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlFilter.java
@@ -174,8 +174,9 @@ public class ControlFilter extends HttpFilter {
String context = req.getContextPath();
HttpSession session = req.getSession();
boolean isEntityImport =
req.getRequestURI().equals("/webtools/control/entityImport");
+ boolean isProgramExport =
req.getRequestURI().equals("/webtools/control/ProgramExport");
- if (!(isSolrTest() || isControlFilterTests() || isEntityImport)) {
+ if (!(isSolrTest() || isControlFilterTests() || isEntityImport ||
isProgramExport)) {
// Prevents stream exploitation
UrlServletHelper.setRequestAttributes(req, null,
req.getServletContext());
Map<String, Object> parameters = UtilHttp.getParameterMap(req);