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 languageLocal 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 is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
|
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
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.