urlquote the object names prior of putting them in the uri