Skip to content

Commit

Permalink
Make sure we remove any line feeds/returns from the certificate string.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Dec 10, 2014
1 parent 7151ade commit 9a484ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/Core/lib/Horde/Core/ActiveSync/Driver.php
Expand Up @@ -3112,6 +3112,7 @@ protected function _mungeCert($cert)
{
$cert = str_replace("-----BEGIN CERTIFICATE-----", '', $cert);
$cert = str_replace("-----END CERTIFICATE-----", '', $cert);
$cert = str_replace("\r\n", '', $cert);

return $cert;
}
Expand Down

0 comments on commit 9a484ae

Please sign in to comment.