Skip to content

Commit

Permalink
Fixed HTTP header issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Yugesh Ramteke committed Nov 14, 2016
1 parent 9064dac commit 215c824
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,9 @@ protected function _buildHttpHeaders(Radial_FraudInsight_Sdk_Http_IHeaders $subP
*/
protected function _buildHttpHeader(Radial_FraudInsight_Sdk_Http_IHeader $subPayloadHttpHeader, $name, $message)
{
if ($name == 'Referer') {
$message = '<![CDATA[' . $message . ']]>';
}
$subPayloadHttpHeader->setHeader($message)
->setName($name);
return $this;
Expand Down

0 comments on commit 215c824

Please sign in to comment.