replaced \n with % in query string due to host security filter