[Webkit-unassigned] [Bug 28938] CSS string value is not correctly serialized when it contains binary characters
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 3 03:09:37 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=28938
Yuta Kitamura <yutak at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #38979| |review?
Flag| |
--- Comment #1 from Yuta Kitamura <yutak at chromium.org> 2009-09-03 03:09:36 PDT ---
Created an attachment (id=38979)
--> (https://bugs.webkit.org/attachment.cgi?id=38979)
Escape control characters in CSS string value when it is serialized.
When WebKit serializesa CSS string value that contains binary characters
('\0\1\2' for example), it did not escape these characters. As a result,
users got (invisible) control characters through scripts, which was not good.
This change fixes this issue.
As a side effect, two separate codes for escaping CSS strings are merged, and
become a public function (escapeCSSString).
---
7 files changed, 185 insertions(+), 52 deletions(-)
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list