also, a note, if you are using java URI it doesn’t support a lot of valid things. And Java URL encoding is wrong to use for all parts of the URL as well. if you want, I can point you at updated encoding code along with a URI builder that is more correct. But I’m assuming you accept just string URL’s as well?