You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.
(the "Post content variables encoding" is set to "Encode as HTML")
If the comment contains single quotes the encoding is ' which causes the JSON parser to fail as it is invalid JSON.
eg
{
"action": "COMMENTED",
"comment": "will it parse? \'"
}
it works as expected for double quotes
{
"action": "COMMENTED",
"comment": "So ignore if this is "OOB" :monkey:"
}
Any chance to fix this in the plugin?
(I'm currently parsing the raw body for this pattern and replace the related escape chars)
The text was updated successfully, but these errors were encountered:
I'm posting the comments to a REST API in this format:
(the "Post content variables encoding" is set to "Encode as HTML")
If the comment contains single quotes the encoding is ' which causes the JSON parser to fail as it is invalid JSON.
eg
it works as expected for double quotes
Any chance to fix this in the plugin?
(I'm currently parsing the raw body for this pattern and replace the related escape chars)
The text was updated successfully, but these errors were encountered: