External links in redmine

Added by William Lafleur over 1 year ago

Hello all,
I've been trying to get my redmine to use the external links correctly. Any time I use them to link to a website, they work fine. However, any time I try to link to a folder or a folder on a server I cannot get them to work for the life of me. I've tried name_link:file://server/folder1/folder2 which doesn't create a link. I've also tried using just file: and source: and I even tried to use the http: tag but to no avail. I've tried doing this in IE, Firefox and Chrome and so far nothing has worked.

Help?

Thanks peoples! :)

Replies (10)

RE: External links in redmine - Added by Ivan Cenov over 1 year ago

You want to link to files in the file system where Redmine resides, don't you?

RE: External links in redmine - Added by William Lafleur over 1 year ago

Negative, the folder is located on a separate server. Is this possible?

RE: External links in redmine - Added by Ivan Cenov over 1 year ago

I think this is not possible.

RE: External links in redmine - Added by William Lafleur over 1 year ago

Yeah that's what I was thinking but wanted to ask around anyway.
Appreciate the help :)

RE: External links in redmine - Added by Ivan Cenov over 1 year ago

William Lafleur wrote:

Yeah that's what I was thinking but wanted to ask around anyway.
Appreciate the help :)

There are too many 'appliances' in between: the file ---> Mongrel Redmine --> Apache --> the browser -> the human.

RE: External links in redmine - Added by Etienne Massip over 1 year ago

Ivan Cenov wrote:

I think this is not possible.

Yep, for security reasons, I think this has been discussed in an old issue.

RE: External links in redmine - Added by Jason Palmer over 1 year ago

We can do it on our site, but it is a bit convoluted as you have to enter a file alias and a full UNC path to the file or folder you are targeting:

"X:\Projects\Random\Downloads\setup.exe":file://///SERVER02/vol1/Projects/Random/Downloads/setup.exe

And you have to mess about if you have spaces in the path name (replace with %20):

"X:\Projects\Random\Downloads\Windows Updates":file://///SERVER02/vol1/Projects/Random/Downloads/Windows%20Updates

RE: External links in redmine - Added by Terence Mill over 1 year ago

This also only works in IE. Fox and Chome won't support it!

Jason Palmer wrote:

We can do it on our site, but it is a bit convoluted as you have to enter a file alias and a full UNC path to the file or folder you are targeting:

[...]

And you have to mess about if you have spaces in the path name (replace with %20):

[...]

RE: External links in redmine - Added by Jason Palmer over 1 year ago

Don't you love the way web browsers work. Interoperability doesn't seem to be a word they understand.

RE: External links in redmine - Added by E. Sambo about 1 year ago

I was just playing around in Redmine and got all of the following external file links to work on my Windows OS:

"UNC file name label":file://ServerName/Directory/Name/With%20Escaped%20Spaces
"UNC file name label":file://ServerName\Directory\Name\With%20Escaped%20Spaces
"UNC file name label":file:////\\ServerName/Directory/Name/With%20Escaped%20Spaces
"UNC file name label":file:////\\ServerName\Directory\Name\With%20Escaped%20Spaces
"UNC file name label":file://///ServerName/Directory/Name/With%20Escaped%20Spaces
"UNC file name label":file://///ServerName\Directory\Name\With%20Escaped%20Spaces
"UNC file name label":file://///\\ServerName/Directory/Name/With%20Escaped%20Spaces
"UNC file name label":file://///\\ServerName\Directory\Name\With%20Escaped%20Spaces

You may also want to Google for:
  • Redmine "Wiki-UNC-Link" Plugin
  • Google Chrome "LocalLinks" extension

(1-10/10)