changeset 1208:1e23b913c327

minor cookie parsing fix
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 08 Mar 2018 17:29:39 -0700
parents 59289af20d9a
children cff4a7d778a6
files src/luan/webserver/RequestParser.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/luan/webserver/RequestParser.java	Wed Mar 07 16:48:32 2018 -0700
+++ b/src/luan/webserver/RequestParser.java	Thu Mar 08 17:29:39 2018 -0700
@@ -185,7 +185,8 @@
 			}
 			if( parser.endOfInput() )
 				return;
-			require( parser.match("; ") );
+			require( parser.match(';') );
+			parser.match(' ');  // optional for bad browsers
 		}
 	}