Hyphens in variable converted to underscores in production

Hi there,

I’m seeing some weird behavior on my published site, and I realized that, in production, WeWeb is converting the hyphens in my variable to underscores. This is causing problems with any workflow or conditional that is linked to that variable.

Why is this happening?

In editor:

Local storage in production:

Jack

@Joyce have you seen this before? it’s messing up our production app because we have query parameters bound to variables, and they are different in the editor vs. production (e.g. body-part in editor, but body_part in production).

Jack

You might want to try to escape the character, but this kinda seems like a bug? Have you tried opening s ticket at support.weweb.io ?