How to open a PDF used in a link


in my user dialog I want to include a link, that contains a pdf:

<a href="mypdf.pdf">click to view the PDF</a>

Unfortunately when I click on the link the pdf doesn’t open up.
Neither in a PDF Viewer nor in the browser.

What do I have to do to make this work?

Thanks for some help =)

Unfortunately, right now links are limited to remote URLs.

Security issues and all that, I guess.

Frustrating, though.