I'm using the Salesforce ruby gem to do the following
firstname.lastname@example.org and this caused a MALFORMED_SEARCH error. I tried calling
to_json on the email, but that didn't fix it. What kind of escaping should I be doing here? Is there a generic way to do this?
I'd like to avoid escaping specific characters like '+', but if that's necessary, I understand. I just don't know what that list of invalid characters is.
I guess a more specific question is: how do I make sure that any query I pass into FIND won't return a MALFORMED_SEARCH error because of invalid characters or something like that?
[EDIT] It seems that the plus sign is the only issue here... Is there any documentation that enumerates other symbols that might be an issue?