Move convertRelativeToAbsoluteUrls after replaceTags
Testing Instructions
Mail template com_users.password_reset, HTML Body:
<p>Hello,</p>
<p>
A request has been made to reset your {SITENAME} account password. To reset your password, you will need to submit this verification code to verify that the request was legitimate.
</p>
<p>
The verification code is {TOKEN}
</p>
<p>
Click <a href="{LINK_HTML}">here</a> and proceed with resetting your password.
</p>
<p>
Thank you.
</p>
Go frontent.
Forgot your password?
Check email Joomla sent you.
Actual result BEFORE applying this Pull Request
URL in email is broken: https://www.mysite.com/https://www.mysite.com/component/users/reset.html?layout=confirm&token=blablabla&Itemid=123
The https://www.mysite.com is dobled in email.
Expected result AFTER applying this Pull Request
URL in email is correct: https://www.mysite.com/component/users/reset.html?layout=confirm&token=blablabla&Itemid=123
No dobled https://www.mysite.com in email.
Link to documentations
Please select:
[ ] Documentation link for docs.joomla.org:
[x] No documentation changes for docs.joomla.org needed
[ ] Pull Request link for manual.joomla.org:
[x] No documentation changes for manual.joomla.org needed
Pull Request for Issue #44377 .
Summary of Changes
Move convertRelativeToAbsoluteUrls after replaceTags
Testing Instructions
Mail template com_users.password_reset, HTML Body:
Go frontent.
Forgot your password?
Check email Joomla sent you.
Actual result BEFORE applying this Pull Request
URL in email is broken:
https://www.mysite.com/https://www.mysite.com/component/users/reset.html?layout=confirm&token=blablabla&Itemid=123
The
https://www.mysite.com
is dobled in email.Expected result AFTER applying this Pull Request
URL in email is correct:
https://www.mysite.com/component/users/reset.html?layout=confirm&token=blablabla&Itemid=123
No dobled
https://www.mysite.com
in email.Link to documentations
Please select:
[ ] Documentation link for docs.joomla.org:
[x] No documentation changes for docs.joomla.org needed
[ ] Pull Request link for manual.joomla.org:
[x] No documentation changes for manual.joomla.org needed