We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Malformed JSON using template transformer.
If the response body from the internal service is like
body: "onclick=\"require("IntlUtils").setCookieLocale("ar_AR", "en_US", "https:\\/\\/ar-ar.facebook.com\\/", "www_list_selector", 3);"
The transformation plugin is encoding the htmlentities resulting in non scaped quotes
onclick=\"require("IntlUtils").setCookieLocale("es_LA", "en_US", "https:\\/\\/es-la.facebook.com\\/", "www_list_selector", 0); return false;
So is changing the """ into quotes , and then the returning json response is invalid
"""
The expected behavior is that the htmlentites should be returned without any transformation
"onclick=\"require("IntlUtils").setCookieLocale("ar_AR", "en_US", "https:\\/\\/ar-ar.facebook.com\\/", "www_list_selector", 3);"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue Description
Malformed JSON using template transformer.
If the response body from the internal service is like
body: "onclick=\"require("IntlUtils").setCookieLocale("ar_AR", "en_US", "https:\\/\\/ar-ar.facebook.com\\/", "www_list_selector", 3);"
The transformation plugin is encoding the htmlentities resulting in non scaped quotes
onclick=\"require("IntlUtils").setCookieLocale("es_LA", "en_US", "https:\\/\\/es-la.facebook.com\\/", "www_list_selector", 0); return false;
So is changing the
"""
into quotes , and then the returning json response is invalidExpected Behavior
The expected behavior is that the htmlentites should be returned without any transformation
"onclick=\"require("IntlUtils").setCookieLocale("ar_AR", "en_US", "https:\\/\\/ar-ar.facebook.com\\/", "www_list_selector", 3);"
Checklist
The text was updated successfully, but these errors were encountered: