Etag parser crashes on invalid input
|Reported by:||isagalaev||Owned by:||mtredinnick|
|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)
Changed 5 years ago by isagalaev
comment:1 Changed 5 years ago by isagalaev
- Has patch set
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:2 Changed 5 years ago by jacob
- milestone set to 1.1
- Triage Stage changed from Unreviewed to Accepted
comment:5 Changed 5 years ago by mtredinnick
- Resolution set to fixed
- Status changed from new to closed