[#1938] Return 400 on bad URI