1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/differential
Nick Harper 894cd13a41 Get rid of null characters
Summary:
We had some null bytes appearing in strings from unit test results, which
caused the PhutilRemarkupEngine to fail at properly generating html for it.
Specifically, the string would get cut off at the null byte, and the closing
</p> tag would never get added. The lack of this tag caused the dom for the
rest of the page to end up inside a hidden td in the unit test results table.

This is a horrible hack of a solution for this - it would be better to fix
PhutilRemarkupEngine (and in the future, strip out null bytes in input in
strings).

Test Plan: load a differential revision and see content after the unittest results

Reviewers: epriestley, vrana

Reviewed By: vrana

CC: aran, Korvin, rm

Differential Revision: https://secure.phabricator.com/D5065
2013-02-22 10:07:09 -08:00
..
__tests__ Implement basic transaction detail blocks 2013-02-17 06:37:02 -08:00
application Don't display 0 in launch view 2013-02-22 05:01:30 -08:00
conduit Apply lint rules to Phabricator 2013-02-19 13:33:10 -08:00
config Expose commit information via conduit instead of user information 2013-02-05 20:10:57 -08:00
constants PHT's for Differential. 2013-01-24 10:46:47 -08:00
controller Apply lint rules to Phabricator 2013-02-19 13:33:10 -08:00
data Delete license headers from files 2012-11-05 11:16:51 -08:00
editor Pass actor to revision unsubscriber editor 2013-02-07 18:19:19 -08:00
events Apply lint rules to Phabricator 2013-02-19 13:33:10 -08:00
exception Delete license headers from files 2012-11-05 11:16:51 -08:00
field Get rid of null characters 2013-02-22 10:07:09 -08:00
mail getConfigEnv fails fast when key is not found and no default value is given. 2013-01-19 12:11:28 -08:00
parser Apply lint rules to Phabricator 2013-02-19 13:33:10 -08:00
query Move revisions without reviewers to author's queue 2013-02-21 10:13:40 -08:00
render Fix function/method declaration lint in Phabricator. Automatic patches. 2013-02-19 13:47:03 -08:00
search Apply lint rules to Phabricator 2013-02-19 13:33:10 -08:00
stats Delete license headers from files 2012-11-05 11:16:51 -08:00
storage Notify users when an object they created gets awarded a token 2013-02-18 17:44:45 -08:00
view Remove object name from header 2013-02-21 11:00:22 -08:00
DifferentialReplyHandler.php Pass actor to revision unsubscriber editor 2013-02-07 18:19:19 -08:00
DifferentialTasksAttacher.php Delete license headers from files 2012-11-05 11:16:51 -08:00