I just updated to v25.02. I wanted to use bulk send to update clients about the new portal URL. When testing I found no matter what I tried the client portal URL would end up broken. I thought it was maybe click track rewrites or something in SMTP but the more I tested the more I found it ONLY happened when the URL contained install domain.
For example. Lets assume ITFlow is installed to https://support.awesomeit.com/ and I would want to notify users of the new client portal: https://support.awesomeit.com/client/login.php - that URL ends up /client/login.php
Steps to reproduce:
- Login and navigate to Client Overview (/contacts.php)
- Tick the box for yourself as a contact and click bulk action in the top right; choose Send Email
- Press CTRL+K to insert a new link and paste in the URL of your client portal in both URL and Text to display fields. (I chose no title and current window settings)
- Check your email and test the link to see if it works.
And I can confirm it's going into the mail_queue table as <a href="client/login.php">
for example so I feel less insane now. It seems to be with tinyMCE and that tinymce.init might need convert_urls:false
added. I tried adding it to app.js and it worked for that one page but I know it's in a couple places - not sure where it may or may not be appropriate. For now I've added it everywhere I found except for a preview init.