GTNPORTAL-3361 - Added URLEncoding to avoid possible attacks on the header