Issue with URL Encoding for email address
We have a problem with Connect-REST API which takes the email address in the url parameter and when the value of email address contains "+" then as it's not encoding as expected
Email address in Pega ( Test+Test@Org)
when outbound message is printed in logs then it's giving %20 as escape code for + symbol instead of %2B.
https://API.MyOrg/customer/api/v2/CustomerID/56789/EmailAddress/Test%20Test@Org
if we encode the parameter explicitly using @encodeURLParameter and send it to API in the url then it's again decoding it as + and API gateway throwing an 404 error because of invalid character so we need to send escape character as %2B instead of %20.
Encoding in JVM is already defined as UTF-8 .