Protect against empty route names and values