hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21210] - Addition to header parsing due to Local Director
Date Tue, 01 Jul 2003 10:01:10 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21210>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21210

Addition to header parsing due to Local Director





------- Additional Comments From l.masini@infogroup.it  2003-07-01 10:01 -------
Thank you Oleg, of course I will use my patched release of the library, but I 
hope to see it in the main release from v2.1
We tried to patch the LocalDirectory, but that is a piece of hardware, and the 
cookie setting are REALLY hard-coded.
Anyway, patching it is really simple as putting this lines in parse:

                if (tokenizer.hasMoreTokens()) {
                    String s = nextToken.toLowerCase();
                    if (s.endsWith("tues")) {
                    	nextToken = s.substring(0,s.length()-1) + 
tokenizer.nextToken();
                    }
                    else if (nextToken.endsWith("thurs")) {
                    	nextToken = s.substring(0,s.length()-2) + 
tokenizer.nextToken();
                    }
                    else if (s.endsWith("mon") 
                        // Standard from here

Bye.
L.

Mime
View raw message