DB connection password with sequential $

======== TEMPLATE BUG FORM ========

Wappler Version : 2.2.2
Operating System : Mac

Expected behavior

What do you think should happen?

A db connection with password: a6xHsg05KV$$a should always work

Actual behavior

What actually happens?

A db connection with password: a6xHsg05KV$$a changes to a6xHsg05KV$a (missing one $) after saving the connection and re-opening it

How to reproduce

  • Detail a step by step guide to reproduce the issue
  • A screenshot or short video indicating the problem
  • A copy of your code would help. Include: JS, HTML.
  • Test your steps on a clean page to see if you still have an issue

Create a mysql db connection that uses a password containing two sequential dollar signs ($$). Test the connection (successful). Save the connection (successful). Re-open the connection and test the connection (it will fail due to invalid credentials). View the password field to find that one of the dollar signs is missing.

When first creating:

After saving, closing and coming back: