Page MenuHomePhabricator

Don't escape quotation marks when printing the monospaced CSS rule
ClosedPublic

Authored by epriestley on Apr 22 2015, 4:26 PM.
Tags
None
Referenced Files
F13995085: D12506.id30026.diff
Wed, Oct 23, 10:33 AM
Unknown Object (File)
Sep 26 2024, 12:48 PM
Unknown Object (File)
Sep 10 2024, 5:56 AM
Unknown Object (File)
Sep 10 2024, 5:56 AM
Unknown Object (File)
Sep 10 2024, 5:56 AM
Unknown Object (File)
Sep 4 2024, 5:48 PM
Unknown Object (File)
Aug 28 2024, 9:41 PM
Unknown Object (File)
Aug 28 2024, 8:03 AM
Subscribers

Details

Summary

Fixes T7888. This is currently safe, but double quotes are incorrectly escaped.

To keep them unescaped, we have to punch through PhutilSafeHTML a bit. Since the allowable characters are strictly filtered this is still safe in practice, just not as theoretically-safe.

Test Plan

Set font to 32px "impact" (with quotes), saw impact font.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Don't escape quotation marks when printing the monospaced CSS rule.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
chad added a reviewer: chad.
This revision is now accepted and ready to land.Apr 22 2015, 4:28 PM
This revision was automatically updated to reflect the committed changes.