Problem with x-callback-url and '&'
I'm playing with sending notes to Drafts via x-callbacks, and have found a problem with &'s.
If I have a '&' in my note, using the x-callback url action causes only the data up to the '&' to make it over.
For example, if my note is: "I'm over here & there", running the action will cause Drafts to only get "I'm over here ". If I use the regular open URL action, it all makes it over fine (but I don't get the benefit of waiting for the x-success response).
Any suggestions? Thanks.
Could you try turning on URL escaping for variables, by tapping the
[%]button in the x-callback action?
I've tried it both ways. They both cut off after the '&'. If you leave the url escape action in and turn on url escaping for variables, in double encodes it. This sends everything over, but you get a lot of %'s and numbers instead of spaces and &'s. :-)
Yes, I have URL escaping enabled, and have tried both escaping in the x-callback action directly and with using the separate URL escaping action. As minnepicker described, using both works but isn't really helpful :)