Fix issue where a normal URL was set when registering some validators