URLencode formatter will not encode a URL (but does encode JSON)

Wappler Version : Latest ‘5’
Operating System : Mac M1
Server Model: NodeJS
Database Type: MySQL
Hosting Type: Docker Local

Expected behavior

What do you think should happen?

I should be able to encode a URL, e.g. the following URL:
https://www.lifeatcanva.com/en/jobs/050b3d1e-b3b9-4b86-a562-6bb624724702/capability-development-specialist-copy/

Should encode to:

https%3A%2F%2Fwww.lifeatcanva.com%2Fen%2Fjobs%2F050b3d1e-b3b9-4b86-a562-6bb624724702%2Fcapability-development-specialist-copy%2F

Note that I can encode some JSON that also needs to appear in the URL, and I can do this separately using the .urlencode() but when I have an actual URL as above, using the same .urlencode() it is not encoding it.

I’ve tried converting the URL to different formats and then encoding, i’ve tried combining the URL and the JSON and then encoding (it encodes the JSON but not the URL part).

Bug report appears to be valid

1 Like