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 664931eccc Improved: Check parameters passed in URLs (OFBIZ-13295)
664931eccc is described below

commit 664931ecccd2f2b6c4754e0e9396215ae95f371d
Author: Jacques Le Roux <[email protected]>
AuthorDate: Mon Oct 13 10:00:02 2025 +0200

    Improved: Check parameters passed in URLs (OFBIZ-13295)
    
    Fixes a redundancy not spotted while handling conflicts due to cherry 
picking
    
    Thanks Nicolas
---
 .../src/main/java/org/apache/ofbiz/webapp/control/ControlFilter.java     | 1 -
 1 file changed, 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 cdadf65a9a..6aeb2edb3f 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
@@ -177,7 +177,6 @@ public class ControlFilter extends HttpFilter {
         if (!(isSolrTest() || isControlFilterTests())) {
             // Prevents stream exploitation
             UrlServletHelper.setRequestAttributes(req, null, 
req.getServletContext());
-            UrlServletHelper.setRequestAttributes(req, null, 
req.getServletContext());
             Map<String, Object> parameters = UtilHttp.getParameterMap(req);
             boolean reject = false;
             if (!parameters.isEmpty()) {

Reply via email to