Broken query params when previewing page with existing params

  1. My goal: open the preview of a page, which already has query params (like account=123)
  2. Issue: when I click the preview button, the _releaseVersion=latest param is appended incorrectly, resulting in a URL like:
    https://<my_app>>.retool.com/apps/<<app_id>>/<<app_name>>?<<my_param>>=<>%3F_releaseVersion%3Dlatest

There's 2 things wrong here:
a) the release version param is url encoded
b) the %3F is an encoded ?, but since there's already a ?, it should be a &

This bug was already mentioned a year ago: Latest working version preview link generator breaks with existing query parameters - #2 by Jack_T

Hi @TomV,

Apologies for the issue. What version of Retool are you using(self hosted or cloud)?

I went to reproduce the behavior and got a different URL. In my case on the latest cloud version, when I share the 'latest working version' my URL has the query params at the end with '/page1?_releaseVersion=latest&account=123'

So I ma curious how you were able to get the order switched around (q param then releaseVersion) and also how you got the %3F or as you said second ? character instead of the & character.

Could you share a screen recording of the query param and then how you generated the shared URL?