MFC: 350557
Properly validate arguments for route deletion
Reported by: Liang Zhuo brightiup.zhuo@gmail.com