Issue #3520453 by trickfun: Add trim to processed string to avoid creating request with ASCII control charactes or spaces
Closes #3520453