Sanitise parameters used in URL generation