I'm using an agent on a Linux system:
$ rpm -q swiagent
I'm doing server initiated connections with a shared secret.
When I have a " in the shared secret, the server fails to connect to the agent. When I remove the " things work as expected.
At a minimum this is a bug, at worst....
BTW: the Linux agent initialization does not permit an unset shared secret, so in the web interface for adding or editing the agent configuration, labeling the shared secret as "optional" is inaccurate.