Problem:

      When we use Mailto, in the link section(e.g insert > links), if your body message have brackets, it'll render your link unusable.

      Steps to reproduce:

      1. Add a page.
      2. Select an blank page.
      3. Click in Link, then Web Link.
      4. Type, for example,
        mailto:testmail@testmail.com?subject=testing \[this message is just a test\]

        In the link text field, type: test.

      5. Then, click insert, save the page, and try to click on the link.
      6. You'll see that is broken.

      Workaround:

      Instead of using brackets, use parentheses.

            [CONFSERVER-24880] Mailto links doesn't allow special characters.

            Could not insert link [_sfcloud_msk@omprussia.ru.|mailto:_sfcloud_msk@omprussia.ru.] The reason is underscores. Could you solve this very little but very important issue?

            Alexander Kushnarev added a comment - Could not insert link [_sfcloud_msk@omprussia.ru .|mailto:_sfcloud_msk@omprussia.ru.] The reason is underscores. Could you solve this very little but very important issue?

            jairo.martin1869087964 added a comment -

            What version of confluence did this get fix?....don't find this info anywhere. 

            jairo.martin1869087964 added a comment - What version of confluence did this get fix?....don't find this info anywhere. 

            jairo.martin1869087964 added a comment - - edited

            still an issue i am trying to add the following link and it does not work:

            "mailto:#ToolsTeam@microsoft.com"

            and it does not work if i do:

            "mailto:ToolsTeam@microsoft.com"

            it does work......confluence version 5.9.5

            jairo.martin1869087964 added a comment - - edited still an issue i am trying to add the following link and it does not work: "mailto:#ToolsTeam@microsoft.com" and it does not work if i do: "mailto:ToolsTeam@microsoft.com" it does work......confluence version 5.9.5

            Minh Tran added a comment -
            Atlassian update

            Thank you for taking the time to raise, comment or vote on this Bug. Currently this bug indicates that it only impacts a version of Confluence which is no longer in support, therefore we are closing this issue as Timed Out.
            If this issue is still impacting you on a recent version please feel free to comment with the affected version. Any further details you may be able to provide regarding reproduction or impact of this issue may help us better address this issue.
            Thanks again.
            Regards,
            Confluence Development

            Minh Tran added a comment - Atlassian update Thank you for taking the time to raise, comment or vote on this Bug. Currently this bug indicates that it only impacts a version of Confluence which is no longer in support, therefore we are closing this issue as Timed Out. If this issue is still impacting you on a recent version please feel free to comment with the affected version. Any further details you may be able to provide regarding reproduction or impact of this issue may help us better address this issue. Thanks again. Regards, Confluence Development

            <html><body> 1 or 2 or 3 </body></html>

            1: click on "Send email" : (add person's email only)
            <a href="mailto:%23James.O'Connell@domain.com" target="_top">Send Mail</a>

            2: click on "send email (add person's email and subject)
            <a href="mailto:%James.O'Connell@domain.com?Subject=Hello%20again" target="_top">Send Mail</a>

            %23 = # and %20 = Space

            3: click on Button:
            <a href="mailto:%23James.O'Connell@domain.com"> <img src="/Image_Link.png" data-pin-nopin="true" alt="" style="padding: 8px; width: 260px; height: 40px;"/></a>

            Tarik Laabar added a comment - <html><body> 1 or 2 or 3 </body></html> 1: click on "Send email" : (add person's email only) <a href="mailto:%23James.O'Connell@domain.com" target="_top">Send Mail</a> 2: click on "send email (add person's email and subject) <a href="mailto:%James.O'Connell@domain.com?Subject=Hello%20again" target="_top">Send Mail</a> %23 = # and %20 = Space 3: click on Button: <a href="mailto:%23James.O'Connell@domain.com"> <img src="/Image_Link.png" data-pin-nopin="true" alt="" style="padding: 8px; width: 260px; height: 40px;"/></a>

            Thanks Tarik.

            However could you clarify: how to a mailto link for this name:

            James.O'Connell@domain.com

            ?

            Nicolas Casel added a comment - Thanks Tarik. However could you clarify: how to a mailto link for this name: James.O'Connell@domain.com ?

            Nicolas@
            when you write the code instead of using # replace it by %23.

            here is an example:

            <a href=%23someone@gmail.com>send email</a>

            Best,

            Tarik Laabar added a comment - Nicolas@ when you write the code instead of using # replace it by %23. here is an example: <a href= %23someone@gmail.com >send email</a> Best,

            Nicolas Casel added a comment - - edited

            Hi Shiva ,

            If you can replace # with %23 encoding through some Javascript

            How to do it?

            Thanks in advance,

            Nicolas

            Nicolas Casel added a comment - - edited Hi Shiva , If you can replace # with %23 encoding through some Javascript How to do it? Thanks in advance, Nicolas

            Hi Theresa Wolf,

            Not sure if you were able to resolve the issue with # in mailto links.
            If you can replace # with %23 encoding through some Javascript if you can handle it via code (or) in someway, then you will be able to solve the issue.

            The same applies to any special characters including new line characters in outlook mailto links. Replace these special characters with their encodings and that should work!!

            Regards,
            Shiva.

            Shiva Nalla added a comment - Hi Theresa Wolf, Not sure if you were able to resolve the issue with # in mailto links. If you can replace # with %23 encoding through some Javascript if you can handle it via code (or) in someway, then you will be able to solve the issue. The same applies to any special characters including new line characters in outlook mailto links. Replace these special characters with their encodings and that should work!! Regards, Shiva.

            All our Outlook e-mail groups begin with a #. For example, #RnDLeads@CompanyName.com or #Producers@CompanyName.com. Due to this bug/limitation, we can't use mailto links for any of our group e-mail addresses.

            Theresa Wolf added a comment - All our Outlook e-mail groups begin with a #. For example, #RnDLeads@CompanyName.com or #Producers@CompanyName.com. Due to this bug/limitation, we can't use mailto links for any of our group e-mail addresses.

              Unassigned Unassigned
              wzanchet William Zanchet (Inactive)
              Affected customers:
              5 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: