Gpii 1029

http://issues.gpii.net/browse/GPII-1029
Ensure when you write this function to properly use the utility "encodeURIComponent" when you assemble the URL, since the form that is written here represents an injection risk.