Malformed URLs no longer cause a crash