Link sent in SMS encoding when not desired
I am sending a link through a twilio integrated notification and it is encoding it when I just want it as plan text.
From my server I am sending the link like this:
and receiving this.
Any thoughts on how to resolve this?
16 Replies
This is probably related to Twilio markup. Let me search this and I'll get back
Have you tried sending without the backticks?
i am using backticks in the other texts for dynamic usernames and no issues but i can try
okay, see if that works
no dice π¦
π
What's your use-case though? Like, why do you want unclickable links?
no the link should be clickable which it is but its jumbling the id.
i want
https://clubhouse.links.golf/messages?id=17
but getting https://clubhouse.links.golf/messages?id=D;17
I see
so you've used the '=' in your server
that is being encoded as 'D'
you'll need to use url encoded for it to not get encoded
Try and see if this works π
I originally thought that but still not working
@fullylevered, you just advanced to level 1!
this is how its passed to novu
so even with url encoded, it is still jumbling id?
yeah, i found a fix: https://docs.novu.co/platform/templates/#faq
rendering it as html value with triple brackets fixed it lmao....weird
thanks for pairing @sumitsaurabh927 !
Thanks for posting!
Glad this FAQ helped you!