W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1997

bug? fix in jigsaw 1.0beta1

From: Jacob W Anderson <jwanders@BBN.COM>
Date: Fri, 03 Oct 1997 08:40:29 -0700
Message-ID: <343511ED.4DD2A6E2@bbn.com>
To: www-jigsaw@w3.org
Hi!

To fix a problem while reading in filter specifications which
unnecessary spaces, HttpManager.java needs to undergo this
change:

w3c/www/protocol/http/HttpManager.java:

    321:  Class c = Class.forName(filters[i].trim()); // added trim()

Otherwise if a filter spec like this:

w3c.www.protocol.http.filters=w3c.www.protocol.http.DebugFilter \
	| w3c.www.protocol.http.cache.CacheFilter \

is introduced, the extra spaces around the class names will
produce a java.lang.IllegalArgumentException during filter
initialization.

-- Jake
Received on Friday, 3 October 1997 11:45:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:26 GMT