Twitter fails to reply when the content has asterisk
An error occurs when trying to respond to Twitter with an asterisk (*) in the text.
Steps to Reproduce
- Open Twitter.
- Select an open case.
- Input the text to be sent as a message.
A defect in Pegasystems’ code or rules:
URLEncoder is used to encode query string parameters. URLEncoder does HTML-form encoding. It only encodes URL *unsafe* characters, but leaves URL *reserved* characters as-is. This poses a problem when the query string parameter value contains reserved characters such as asterisk.