Skip to content
This repository was archived by the owner on Oct 4, 2024. It is now read-only.

Conversation

@jderose9
Copy link
Contributor

This resolves an issue where invalid single quote escaping causes failure when a commit message contains a single quote. Single quotes should not be escaped in JSON.

When this error occurs, the response from the POST from github is:

{"message": "Could not parse request body into json: Unrecognized character escape ''' (code 39)...

The fix is described in the AWS reference for $util.escapeJavaScript() here:
http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html

This resolves an issue where invalid single quote escaping causes failure when a commit message contains a single quote. Single quotes should not be escaped in JSON.
@santiagocardenas santiagocardenas changed the base branch from master to develop November 16, 2017 22:41
Copy link
Contributor

@jaymccon jaymccon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good :)

merging to develop branch. Once ci is happy, the commit will get pushed to the master branch and templates in the quickstart-reference s3 bucket will be updated

@jaymccon jaymccon merged commit 373c131 into aws-quickstart:develop Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants