Trimming CORS parameters.