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
F14355417: D12506.diff
Thu, Dec 19, 5:47 PM
Unknown Object (File)
Thu, Dec 12, 9:34 PM
Unknown Object (File)
Sat, Dec 7, 8:39 AM
Unknown Object (File)
Fri, Dec 6, 3:09 PM
Unknown Object (File)
Wed, Dec 4, 8:17 AM
Unknown Object (File)
Oct 23 2024, 10:33 AM
Unknown Object (File)
Sep 26 2024, 12:48 PM
Unknown Object (File)
Sep 10 2024, 5:56 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
Branch
filter
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 5440
Build 5458: [Placeholder Plan] Wait for 30 Seconds

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.