Skip to content

Commit

Permalink
Merge pull request #11 from yugeshramteke/master
Browse files Browse the repository at this point in the history
Fixed HTTP header issue
  • Loading branch information
yugeshramteke authored Nov 14, 2016
2 parents 158ea37 + 215c824 commit 10581f3
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 10581f3

Please sign in to comment.