[#4] improve error handling when 'illegal' character in path parameter name