tolerate whitespace in url