Homestyx hydra
Diffusion hydra 02f7ece868d8

Fix overescaping in Paste

Description

Fix overescaping in Paste

Summary:
Two issues:

  • When we read the content out of cache, it has lost its "safe html" flag, since the cache is raw-string oriented. Restore it.
  • explode() isn't safe-html-safe. Use phutil_split_lines() instead, which is.

Test Plan: Looked at /paste/

Reviewers: codeblock, chad

Reviewed By: codeblock

CC: aran

Differential Revision: https://secure.phabricator.com/D4980

Details

Provenance
epriestleyAuthored on Feb 15 2013, 7:38 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:6c1043cf58c4: Populating Channel Id's
Branches
Unknown
Tags
Unknown

Event Timeline