-
You bet me to it... like a month ago -___-
Here's my fix:
private void parseHeader() {
if (rawHeader == null) return;
header = new Hashtable(1);
for (int i = 0; i < rawHeader.size(); i++) {
String h = (String) rawHeader.elementAt(i);
// RF: The following code is buggy; it doesn't support strings with
// embedded colons.
/*...
2007-04-19 03:34:26 UTC by midnightfraser
-
Current implementation uses StringTokenizer with colon as delimiter an suppose that value could not have colon. So next header would not be parsed:
user-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
key would be 'user-agent'
value would be 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv' which is not correct.
2007-03-09 12:14:49 UTC by d12v
-
tolikuznets committed patchset 24 of module jcyclone to the JCyclone CVS repository, changing 7 files.
2007-02-17 02:26:41 UTC by tolikuznets
-
tolikuznets committed patchset 23 of module jcyclone to the JCyclone CVS repository, changing 41 files.
2006-09-27 01:37:22 UTC by tolikuznets
-
tolikuznets committed patchset 22 of module jcyclone to the JCyclone CVS repository, changing 1 files.
2006-07-03 19:30:12 UTC by tolikuznets
-
tolikuznets committed patchset 21 of module jcyclone to the JCyclone CVS repository, changing 16 files.
2006-07-03 18:58:10 UTC by tolikuznets
-
jm7 committed patchset 20 of module jcyclone to the JCyclone CVS repository, changing 12 files.
2005-11-16 22:10:49 UTC by jm7
-
jm7 committed patchset 19 of module jcyclone to the JCyclone CVS repository, changing 1 files.
2005-06-17 16:15:46 UTC by jm7
-
jm7 committed patchset 18 of module jcyclone to the JCyclone CVS repository, changing 8 files.
2005-06-16 20:47:55 UTC by jm7
-
jm7 committed patchset 17 of module jcyclone to the JCyclone CVS repository, changing 1 files.
2005-06-07 18:33:55 UTC by jm7