Hi,

I have this link in my html email:

<a href="mailto:enews+unsubscribe@domain.org.au">enews+unsubscribe@domain.org.au</a>

But it gets delivered in the source of the email as:

<a href="mailto:enews%20unsubscribe@domain.org.au" style="text-decoration:underline;">enews+unsubscribe@domain.org.au</a>

And the link doesn't work.

Thanks

Joe

Files: 
CommentFileSizeAuthor
#1 mimemail-1597896-1.patch417 bytessgabe

Comments

Issue summary:View changes

Put html samples in code tags

Title:+ symbol being stripped out of mailto: link in bodyPlus symbol encoded as space in URLs
Status:Active» Fixed
StatusFileSize
new417 bytes

The plus symbol is not striped but encoded as a space. The following patch fixes the issue in both branches.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Issue summary:View changes

Changed actual domain name to domain.org.au

Hi,
I'm using MIME Mail Version 7.x-1.0-beta1 and am getting spaces instead of plus symbols. They're not even % symbols but real spaces. Could it be that the Bug reappeared?

Issue summary:View changes
Status:Closed (fixed)» Active

Status:Active» Closed (fixed)

No, this issue is still fixed, see _mimemail_url():

<?php
function _mimemail_url($url, $embed_file = NULL) {
  [...]
 
$url = str_replace('+', '%2B', $url);
  return
$url;
}
?>

It should be something else with the same symptom. Please open a new issue and provide steps to reproduce.

Yes, I found that line too. But still the problem exists. I figured maybe there is another line of code somewhere which affects the URLs.
But ok, it seems to be an issue of some other module.. I'll keep on searching. thanks for your reply!