Bug 88688
Summary: | Null characters at the end of an Access-Control-Allow-Origin are not preserved in chromium-linux | ||
---|---|---|---|
Product: | WebKit | Reporter: | Pablo Flouret <pf> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | schenney |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Pablo Flouret
Spin-off from bug 88139.
Say:
$origin = "foo\0"
Access-Control-Allow-Origin: $origin
For some reason, chromium-linux seems to be dropping the trailing null character. Maybe a peculiarity in the chrome network stack?
Couldn't reproduce locally with a chromium-mac build, so i'm not sure if it's just with a case like the example above or if it's a general problem with null characters (i.e. would foo\0bar be read like foo?)
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Stephen Chenney
https://code.google.com/p/chromium/issues/detail?id=231343