Hello,

we have found that commons-sandbox-http
org.apache.commons.http.BrowserDetector needs a simple sanity check to
prevent its falling over with a StringIndexOutOfBoundsException when pages
are retrieved from a programmatic HTTP client that reports its User-Agent
header string as "Java1.3.1"

A patch to the current version (1.1) is attached - I hope someone with
commit privileges could spare a few minutes to make it a part of the
official source.

Thanks,

Aleks Maricic



 <<BrowserDetector.java.patch>> 




Attachment: BrowserDetector.java.patch
Description: Binary data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to