allow ~ in URLs