I added a PDF to a node and later decided that I would like to create a menu link that links directly to that PDF. However, when I enter the relative path into the create link form I get an error message:

"The path '...' is either invalid or you do not have access to it."

If I hard code the entire path it works fine. For example, this works: http://localhost:32771/files/Fundraising_Packet_2.pdf

Does anyone know if this is a bug or if there is a way that I can enter a relative link to a PDF stored in the files system into a menu link?

Comments

It would mean porting a module but here's one suggestion:

Just use the Menu Token module. Copy your absolute PDF url to your path textfield and replace the servername with [site:url]. Also make sure the uses tokens checkbox is activated and save your menu item... In combination with the Menu Attributes module you could even link your PDF's to a blank browser tab/window if you like so.