major url validation bugfixes