URL box validator now uses removeNullTerminator function as well