Persisted URL param when navigating via `<ui-nav-menu>` links

I’m seeing a behaviour which I think is a caching bug.

Scenario: After a merchant authorizes the recurring subscription in Shopify, it redirects back to the URL we specified. The URL has a charge_id query param. The app handles that request, then redirects to another page in the app. So far, so good.

The issue is that if I navigate the app by simply clicking one of the <ui-nav-menu> links, Shopify appends the charge_id param to the request, alongside the usual hmac, id_token, etc. In fact, we can hop between the links and one of them always keeps appending this charge_id.

If anyone from Shopify can assist, I’ve saved a short screencast that shows the behaviour. Please send a DM. Thank you.

AppBridge: CDN
Shopify API: 2026-04
Stack: Rails 8 + Turbo + Shopify App gem @23.0.3

Hey @flavio-b - taking a look, just sending you a DM.

Hi Alan, I just shared the video with @Henry_Tao earlier today. I’ll send you a copy as well, but he likely already has someone looking into this, FYI.

@flavio-b - ah, yeah, he’s likely on it, but I can followup as well if needed - thanks Flavio!

It’s fixed. Thanks for reporting the issue.