【问题标题】:using office url referrer to open word file directly from browser使用 office url referrer 直接从浏览器打开 word 文件
【发布时间】:2018-12-26 15:10:49
【问题描述】:

我正在使用 office url referrer “ofe ms-word:nft|u|http://...” 直接从浏览器打开 word 文件。

如果我使用“http://localhost/Berry.WebApp4/xxx/xxx/xxx/1655e91c-8205-4137-ba61-bbc5e99ed0a5.docx”网址而不使用 office url,则文件下载正确,我可以使用 Microsoft word 打开它,但如果我使用相同的 url 直接从浏览器打开 clinet word: “ms-word:ofe|u|http://localhost/Berry.WebApp4/xxx/xxx/xxx/1655e91c-8205-4137-ba61-bbc5e99ed0a5.docx” 然后微软 word 给出以下信息:

word found unreadable content in login. do you want to recover 
the contents of the document ? 
if you trust the source of the document click yes

即使我单击“是”,恢复操作也会失败。

【问题讨论】:

  • 请将您的问题重新表述为问题。

标签: html windows url referrer


【解决方案1】:

问题是因为该操作在我需要身份验证的地方具有 [authorize] 标记,但是当 Word 女士尝试打开文件时,请求中没有身份验证标头。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-01-04
    • 1970-01-01
    • 2020-05-27
    • 2012-04-30
    相关资源
    最近更新 更多