password recovery link is mangled
Hi,
the link included in the email for password recovery is mangled, it looks something like http://&%2F;&%2F;domainname/path
- in other words there's some url-escaping that's getting done when it's not supposed to.
I think I figured out that it's something to do with Nuxtjs-i18n - for that email template the config
, including the baseurl, is being sent through the t() function which i think is escaping the slashes in some weird way. I worked around it by passing hostname
through in server/api/mail.js
, instead and hardcoding the protocol in the locale file for recovery.content
, but this is not ideal and you can probably figure out some better way (otherwise each locale would have to have that change) - so, i wont do a merge request. maybe there's a setting in nuxt config for not escaping urls?
thanks,
steev