Bug 779770 (SOA-2132)

Summary: Relax Http Header Validation to just "not null"
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Stelios Koussouris <skoussou>
Component: JBossESBAssignee: Kevin Conner <kevin.conner>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.0.0 GA   
Target Milestone: ---   
Target Release: 5.1.0 GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2132
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-11 05:48:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stelios Koussouris 2010-06-18 16:58:28 UTC
Affects: Release Notes
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/?module=issues&action=view&tid=1023033&gid=1354
project_key: SOA

The code
http://anonsvn.jboss.org/repos/labs/labs/jbossesb/tags/JBESB_4_7_CP2_ER4/product/rosetta/src/org/jboss/soa/esb/http/HttpHeader.java

checks
AssertArgument.isNotNullAndNotEmpty(name, "name");
AssertArgument.isNotNullAndNotEmpty(value, "value");

However, there can be occasions where the value is empty. The condition should be relaxed to "not null" (not sure if it could ever be null)

Comment 1 Stelios Koussouris 2010-06-18 16:58:58 UTC
Link: Added: This issue depends JBESB-3355


Comment 2 Anne-Louise Tangring 2010-09-22 12:18:46 UTC
Candidate for SOA 5.1.0

Comment 5 Dana Mison 2011-01-05 00:14:31 UTC
Writer: Added: dlesage


Comment 6 David Le Sage 2011-02-11 05:43:58 UTC
Temporarily reopening to update release note info.

Comment 7 David Le Sage 2011-02-11 05:48:23 UTC
Release Notes Docs Status: Added: Documented as Resolved Issue
Release Notes Text: Added: https://issues.jboss.org/browse/JBESB-3355

The validation process for the  HTTP header was stringently checking that it was "not empty."  However, there are occasions when it can, validly, be empty. To account for this, the condition has been relaxed so that it now checks for  "not null" instead.