# transform url (query params) to compatible with r2 and cfi