When sending filters for custom fields that include spaces in the field, or when otherwise including query changes via hooks, spaces are not being replaced with plus signs leading to errors in certain queries where others work. The SOQL spec does suggest spaces should be ok, but in experience, when sent via the REST api, they break.

This patch is a very small one that replaces any latent space character with a plus character.

CommentFileSizeAuthor
salesforce_to_string.patch472 bytessteve.colson

Comments

stephen.colson created an issue. See original summary.

yogaf’s picture

+1 for this.

aaronbauman’s picture

Status: Needs review » Reviewed & tested by the community
aaronbauman’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.