Don't pass environment variables with "\n" to LightProcesses
commit6342bdbf1b39ab503f9fd70985f2ddacedad4766
authormwilliams <mwilliams@fb.com>
Wed, 19 Jun 2013 16:33:31 +0000 (19 09:33 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 21 Jun 2013 18:21:43 +0000 (21 11:21 -0700)
tree52507b269c3a9685126509c2e13f7d2966cd4ded
parent61ec6703fcb8b6d0c78b6612cca5bdbed2438e66
Don't pass environment variables with "\n" to LightProcesses

A recent diff started (correctly) passing the environment
through to child processes. It turns out our LightProcess implementation
can't handle environment variables with new lines in them, so (for now)
strip out any such variables.
hphp/runtime/ext/ext_process.cpp