updated validation for fold https paths