Bug 131853 - http/tests/multipart/policy-ignore-crash.php erroneously depends on http stack quirks
Summary: http/tests/multipart/policy-ignore-crash.php erroneously depends on http stac...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
Depends on:
Reported: 2014-04-18 13:00 PDT by Alexey Proskuryakov
Modified: 2014-04-18 13:43 PDT (History)
0 users

See Also:

proposed fix (1.35 KB, patch)
2014-04-18 13:03 PDT, Alexey Proskuryakov
beidson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2014-04-18 13:00:14 PDT
http/tests/multipart/policy-ignore-crash.php returns a multipart response with part boundaries positioned incorrectly. A boundary is at the end of a long line, instead of being on its own line after CRLF.

Some http implementations manage to parse this, others don't.
Comment 1 Alexey Proskuryakov 2014-04-18 13:03:09 PDT
Created attachment 229668 [details]
proposed fix
Comment 2 Alexey Proskuryakov 2014-04-18 13:05:49 PDT
Committed <http://trac.webkit.org/r167500>.
Comment 3 Alexey Proskuryakov 2014-04-18 13:43:36 PDT
And r167504.