Escape all public_ids including non-http ones.
Rename prepareUploadTagParams to uploadTagParams