commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksandar Maricic <aleksandar.mari...@synergy.co.nz>
Subject [commons-sandbox-http] BrowserDetector.java patch for programmati c HTTP clients
Date Tue, 28 May 2002 00:31:08 GMT
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>> 





Mime
View raw message