Added Malformed URL Check