facebook/hhvm — pull request #4415 by jazzdan (2014-12-09 16:35:00+00:00)
Title: Implement AlwaysEscapeLog runtime option

Previously, AlwaysEscapeLog was never checked effectively making the default "true", despite the fact that it was listed as "false" in runtime-option.cpp. After checking AlwaysEscapeLog I changed the default behavior to true, to match how it behaved by default before this patch.

It's important to note that if AlwaysEscapeLog is set to false this implementation will cause logs to *never* be escaped. If that was not the intended behavior of this option, I can amend it to match what it should do.