How is the Send Document Link functionality supposed to be used? And, more exactly, the escape characters in the link? I’m testing this with a document class named ‘IPC REV’, thus with a space in it. The result is an url containing DocClass='IPC%2520REV' which does not work if I try it in the browser. 'IPC%20REV' works though. It looks as first the space is replaced by %20 and then the % is replaced by %25. Since this looks like it is done deliberately, what is the story?
How to use the direct link to download document file
Best answer by Mathias Dahl
Hi Kenneth,
The confusion is understandable 🙃 The "real" link that can be used in a web browser, as you say, should contain %20 only, where there is a space character. However, when we create the links for the email we need to double encode the URL, since we use the mailto protocol to open an email.
So there are two versions of each link, the one displayed in the web page and the one in the email.
Which one did you refer to and did you try the link after sending the email?
Perhaps there's a bug here since we probably haven't tested withbsoaves in the document class (a bad idea by the way, if you want to stay out of trouble 🙃).
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.