Project

General

Profile

odd behaviour with link to download redmine file from word document

Added by Doug Scott almost 10 years ago

I have this issue that is hard to describe in a search engine. My environment:

Redmine version                2.4.1.stable
Ruby version 1.9.3-p231 (2012-05-25) [i386-mingw32]
Rails version 3.2.16
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.4
Git 1.8.3
Filesystem
Redmine plugins:
clipboard_image_paste 1.8
redmine_app__space 1.0.1
redmine_better_gantt_chart 0.9.0
redmine_dmsf 1.4.8 devel
redmine_issue_checklist 2.0.5
redmine_my_roadmaps 0.1.13_redmine2.3
redmine_release_notes 1.3.1
redmine_theme_changer 0.1.0
redmine_todos 2.0.5
redmine_watcher_groups 1.0.0

I am using either Internet Explorer 11 or Firefox 30 under Windows 8.1, and have a document created in Word 2007 with hyper-links to files/documents stored in Redmine.

If I am reading that document, and nothing else is running or currently logged into Redmine account, selecting the link in the document will launch my default web browser, ask me to login, and will then offer to either download the file/document or to open the file/document. Just as I would expect it to work. BTW, the hyperlink was "https://redmine.myserver.com/dmsf/files/1663/download".

If I then just leave my web browser just sitting there, and select the next hyperlink in the document, it will simply go to the root of the Redmine server. Even the URL shown in the address is for the root of the Redmine server.

I have attached a portion of the server log showing the complete transactions I have described above, with sensitive type info altered.

Any idea why the link is getting altered when I am trying to download the next document from a link within a word document? Note that if I right click the link in the document and select copy hyperlink, then just paste that into the address field in my web browser that is already logged into redmine, it will behave as expected, and will ask me if I want to open or download the document. Same for clicking a link that is in an email to a document in Redmine, it will work everytime. I am only having this issue from within a Word document.

redminelog.txt (4.97 KB) redminelog.txt logfile showing issue

Replies (2)

RE: odd behaviour with link to download redmine file from word document - Added by John Kirkwood almost 10 years ago

Hi Doug,

We had the same issue just last week.

I think it's a Microsoft Office Single Sign-On security issue where the user credentials are not shared between the Office browser component and Internet Explorer. (Links from Outlook emails are OK). We're just going to live with it for now... and knowing what it is makes that easier.

MS issue:
http://support.microsoft.com/kb/899927
MS workaround (with side-effect of possibly forcing IE to open when linking from Office doc to Office doc):
http://support.microsoft.com/kb/218153

Best,
John

RE: odd behaviour with link to download redmine file from word document - Added by Doug Scott almost 10 years ago

Hi John,

Thanks for the reply. The MS workaround fixes it when using IE. Did not try other browser, I only use IE myself. Left it to fellow worker to test with Firefox. Have to wonder why MS uses different ways to handle hyperlinks in word compared to outlook. The first link you gave only applies to IIS web servers from what I could see. I only looked at it quickly once I saw references to modifying IIS documents/config.

The extra security check when selecting link is still easier than logging in again. I think I used to see that security check before, but cannot recall for sure.

Doug

    (1-2/2)