본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

How can I directly open file links?

  • 3 답장
  • 2 이 문제를 만남
  • 1 보기
  • 최종 답변자: Toad-Hall

more options

In our company, we have recently updated Thunderbird from version 52.3.0 to 115.9.0. Now we have a problem with href links containing file URIs in our messages. We often receive file links pointing to files in our local intranet, which look like this: <a href="file://///intranet.local/dfs/output/movie.mp4" class="moz-txt-link-freetext" moz-do-not-send="true">movie.mp4</a> Up to Thunterbird version 98.0b3 it was possible to open these files by simply clicking the link. But since version 99.0b1 file links don't open any more. Instead, the error console displays the following message: Security Error: Content at mailbox:///C:/Users/username/AppData/Roaming/Thunderbird/Profiles/profilename/Mail/Local%20Folders/Inbox?number=12345 may not load or link to file://///intranet.local/dfs/output/movie.mp4. Fortunately, it is possible to open the link with "Open Link In Browser" from the context menu. But we would like to get rid of this extra click. I already followed the steps in this document: http://kb.mozillazine.org/Links_to_local_pages_do_not_work#Firefox_1.5.2C_Mozilla_1.8.2C_and_newer Interestingly, this document is older than the time, when our problem was introduced into Thunderbird. Consequently, when I follow these steps, file links still don't open in an external application. Instead, they open inside of Thunderbird which is not the desired effect. To put my question in a nutshell: How can I open file links by left-clicking on them, just the way they open, when I right-click on them and select "Open Link In Browser"?

Steps to reproduce: On a Windows computer create a new mail. Press Ctrl-K to insert a link. Enter the following path with username replaced by your windows logon name: file:///C:/Users/username/Documents Save and close the mail. Watch the mail in the drafts folder. Click the link. Nothing happens, but you can see a message in the error console. Right click the link and select "Open Link In Browser". This opens your windows explorer.

Any solution is welcome, even if it's potentially insecure, since our computers don't have any internet access and we can receive internal mail only.

In our company, we have recently updated Thunderbird from version 52.3.0 to 115.9.0. Now we have a problem with href links containing file URIs in our messages. We often receive file links pointing to files in our local intranet, which look like this: <a href="file://///intranet.local/dfs/output/movie.mp4" class="moz-txt-link-freetext" moz-do-not-send="true">movie.mp4</a> Up to Thunterbird version 98.0b3 it was possible to open these files by simply clicking the link. But since version 99.0b1 file links don't open any more. Instead, the error console displays the following message: Security Error: Content at mailbox:///C:/Users/username/AppData/Roaming/Thunderbird/Profiles/profilename/Mail/Local%20Folders/Inbox?number=12345 may not load or link to file://///intranet.local/dfs/output/movie.mp4. Fortunately, it is possible to open the link with "Open Link In Browser" from the context menu. But we would like to get rid of this extra click. I already followed the steps in this document: http://kb.mozillazine.org/Links_to_local_pages_do_not_work#Firefox_1.5.2C_Mozilla_1.8.2C_and_newer Interestingly, this document is older than the time, when our problem was introduced into Thunderbird. Consequently, when I follow these steps, file links still don't open in an external application. Instead, they open inside of Thunderbird which is not the desired effect. To put my question in a nutshell: How can I open file links by left-clicking on them, just the way they open, when I right-click on them and select "Open Link In Browser"? Steps to reproduce: On a Windows computer create a new mail. Press Ctrl-K to insert a link. Enter the following path with username replaced by your windows logon name: file:///C:/Users/username/Documents Save and close the mail. Watch the mail in the drafts folder. Click the link. Nothing happens, but you can see a message in the error console. Right click the link and select "Open Link In Browser". This opens your windows explorer. Any solution is welcome, even if it's potentially insecure, since our computers don't have any internet access and we can receive internal mail only.

모든 댓글 (3)

more options

re :I already followed the steps in this document: http://kb.mozillazine.org/Links_to_local_pages_do_not_work#Firefox_1.5.2C_Mozilla_1.8.2C_and_newer Interestingly, this document is older than the time, when our problem was introduced into Thunderbird. Consequently, when I follow these steps, file links still don't open in an external application. Instead, they open inside of Thunderbird which is not the desired effect.

Certain files can open in Thunderbird eg: PDF But they do this because you have settings for Files & Attachments to open in Thunderbird.

  • Settings > General
  • scroll down to 'Files & Attachments' section
  • Look for the Content type eg: Portable Document Format (PDF)
  • Change the action to use the desired program eg: Adobe Acrobat
more options

Thank you Toad-Hall, yes, I know how to associate an application with different content types. But the problem isn't about opening attachments. It's about opening links to files that aren't included with the mail but linked via href="file://///...". I'm sorry if that wasn't clear enough from my description. Btw, would you mind trying the few steps I described to reproduce the issue?

more options

Clemens said

Thank you Toad-Hall, yes, I know how to associate an application with different content types. But the problem isn't about opening attachments. It's about opening links to files that aren't included with the mail but linked via href="file://///...". I'm sorry if that wasn't clear enough from my description. Btw, would you mind trying the few steps I described to reproduce the issue?

The part you sorting out is 'Files and Attachments' not just Attachments.

When you want to open a link to a file and it needs to use the correct program then you must make sure it is already set up.

I've already tried the 'steps' you posted, but I'm assuming the link points to a file in that directory and not just a folder. eg: file:///C:/Users/username/Documents/family.pdf

In this instance as I have set up pdf to open using Adobe Acrobat in 'Files & Attachments' then Thunderbird opens that file link to pdf in Adobe Acrobat. In other words it works for me.

If you have something like this: file://///intranet.local/dfs/output/movie.mp4 Then in 'Files & Attachments' you need to have set up what Thunderbird uses for opening .mp4 documents. Have you already done this for all the various file types you need to open?