Forum Discussion

shaib25's avatar
shaib25
Copper Contributor
Aug 06, 2020

Office 365 ATP safe links breaks links - Adds extra %20 to a link and brakes it

The link proxy converts a good link to a broken link:

This is the safelinks.protection.outlook.com proxy link

https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fm.wishbox.co%2Fp%2520%2FApxouAKvXcG&data=02%7C01%7C%7Cbb2d9e20c576475af87b08d8398164da%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637322575182511412&sdata=UYAPxSfIvrHs6ghvf%2By%2B4xQYv1iXiR7AetBFQRjn6wM%3D&reserved=0

 

The result of that link is: "https://m.wishbox.co/p%20/ApxouXXXXX"

 

the expected result should be:

"https://m.wishbox.co/p/ApxouXXXXX

 

4 Replies

  • Chupakebr's avatar
    Chupakebr
    Copper Contributor

    shaib25 

     

    You can try to wrap your link with CSS i.e.

    #permalink_section
    {
    white-space: pre-wrap; /* CSS3 */
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
    }

     

    From https://stackoverflow.com/questions/3247358/how-do-i-wrap-text-with-no-whitespace-inside-a-td/5108367#5108367

    Check working example http://jsfiddle.net/5zsqP/1.

Resources