PQ57399: MALFORMED ACCEPT LANGUAGE CAUSES JAVA.LANG.STRINGINDEXOUTOFBOUNDSEXCEPTION

APAR status
Closed as program error.

Error description
A malformed Accept Language in the request header causes was to
throw a java.lang.StringIndexOutOfBoundsException.
waseng header accept language
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server developers      *
*                 who's sites receive empty Accept             *
*                 Language header field values.                *
****************************************************************
* PROBLEM DESCRIPTION: WebSphere throws StringIndexOutOfBounds *
*                      when processing Accept Language header  *
*                      field values.                           *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
WebSphere is throwing a StringIndexOutOfBounds exception
when a malformed Accept Language header field is sent
to tbe server. HTTP 1.1 specification requires the Accept
Language header field to contain one or more values.  Since
the processing of accept languages is determined by
the client request, WebSphere customers cannot modify or set
the headers prior to WebSphere's internal processing.
Problem conclusion
WebSphere needs to check the Accept Language header field
for null or zero length strings prior to processing.
If WebSphere encounters an invalid Accept Language field value
of empty or null, WebSphere will skip the current Accept
Language header field token and process the next token.
Temporary fix Comments
APAR information
APAR number PQ57399
Reported component name WEBSPHERE AE NT
Reported component ID 5630A2201
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-02-01
Closed date 2002-02-04
Last modified date 2002-02-04

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
ENGINE          

Fix information
Fixed component name WEBSPHERE AE NT
Fixed component ID 5630A2201

Applicable component levels
R400 PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ57399
IBM Group: Software Group
Modified date: Feb 4, 2002