Etag parser crashes on invalid input
|Reported by:||Ivan Sagalaev||Owned by:||Malcolm Tredinnick|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Etag parser crashes on input with a trailing backslash trying to unquote the string. Apparently Opera 9.64 does send such etag in If-None-Match in some circumstances.
While strictly following HTTP requires to answer with "400 Bad Request" I believe it's too extreme for the real world. We can simply ignore the header in this case.
Patch follows shortly...
Change History (7)
comment:1 Changed 7 years ago by
|Patch needs improvement:||unset|