This is due to the fact that MS Office uses the Hlink.dll component to search if the link is an Office document or something else. MS Office plans to open a document linked inside documents without using an external browser (using the Hlink.dll IE6 component).
If the cookie cookie protects the website, Hlink naturally redirects to the login page, and, having reached the HTML page and is unable to "understand", it opens in an external browser. Please note that it does not open the original URL (expected behavior), but the result of the redirect, even if it was redirected to 302.
Microsoft has this error in an unsupported component (Hlink.dll), instead of recognizing the error, turn it on its head (trying to convince us that this is a flaw in the SSO system that we use, i.e. session cookies) and refuses update it. It offers a workaround that disables the search functionality in MS Office:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ Office\9.0\Common\Internet\ForceShellExecute:DWORD=1
Or offer us some workarounds to avoid HTTP redirection and changes in Javascript redirects or META REFRESH redirects (i.e. to get Hlink to get the text / html page at the source URL and force it to start an external browser to process it).
myroslav Apr 29 '10 at 11:21 2010-04-29 11:21
source share