Add missing validation on URL lengths