Forces ampersand as query separator for mailers
This commit is contained in:
@ -134,7 +134,7 @@ class AmazonSES {
|
||||
'Authorization' => $this->signRequest($body),
|
||||
'X-Amz-Date' => $this->date
|
||||
),
|
||||
'body' => urldecode(http_build_query($body))
|
||||
'body' => urldecode(http_build_query($body, null, '&'))
|
||||
);
|
||||
}
|
||||
|
||||
@ -175,7 +175,7 @@ class AmazonSES {
|
||||
'x-amz-date:' . $this->date,
|
||||
'',
|
||||
'host;x-amz-date',
|
||||
hash($this->hash_algorithm, urldecode(http_build_query($body)))
|
||||
hash($this->hash_algorithm, urldecode(http_build_query($body, null, '&')))
|
||||
));
|
||||
}
|
||||
|
||||
|
@ -75,7 +75,7 @@ class SendGrid {
|
||||
'headers' => array(
|
||||
'Authorization' => $this->auth()
|
||||
),
|
||||
'body' => http_build_query($body)
|
||||
'body' => http_build_query($body, null, '&')
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user