mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
fix(AWS SNS Node): Fix an issue with messages failing to send if they contain certain characters (#5807)
This commit is contained in:
@@ -302,8 +302,8 @@ export class AwsSns implements INodeType {
|
|||||||
|
|
||||||
const params = [
|
const params = [
|
||||||
'TopicArn=' + topic,
|
'TopicArn=' + topic,
|
||||||
'Subject=' + (this.getNodeParameter('subject', i) as string),
|
'Subject=' + encodeURIComponent(this.getNodeParameter('subject', i) as string),
|
||||||
'Message=' + (this.getNodeParameter('message', i) as string),
|
'Message=' + encodeURIComponent(this.getNodeParameter('message', i) as string),
|
||||||
];
|
];
|
||||||
|
|
||||||
const responseData = await awsApiRequestSOAP.call(
|
const responseData = await awsApiRequestSOAP.call(
|
||||||
|
|||||||
Reference in New Issue
Block a user