Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

URI format for shared local files

  • 1 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 philipp

more options

Firefox uses this format to access shared files on a local network... file://///host/path eg file://///computername/sharename/MyDocs/filename.txt.

This format is different from the standard form file://host/path that is used on other browsers eg Windows, Chrome.

This means that Firefox does not give me access to shared files when I have coded the standard format URI into my local HTML documents. Why is Firefox different or non-standard.

Firefox uses this format to access shared files on a local network... file://///host/path eg file://///computername/sharename/MyDocs/filename.txt. This format is different from the standard form file://host/path that is used on other browsers eg Windows, Chrome. This means that Firefox does not give me access to shared files when I have coded the standard format URI into my local HTML documents. Why is Firefox different or non-standard.

被采纳的解决方案

hello seebee, apparently file://///host/path is the standard form for a unc path:

"That's five slashes - two for the protocol, one to indicate the root of the file system, then two more to indicate the start of the server name." https://stackoverflow.com/questions/5317834/workaround-for-href-file-in-firefox

it is also explained in this bug from 2001: https://bugzilla.mozilla.org/show_bug.cgi?id=66194#c8

定位到答案原位置 👍 0

所有回复 (1)

more options

选择的解决方案

hello seebee, apparently file://///host/path is the standard form for a unc path:

"That's five slashes - two for the protocol, one to indicate the root of the file system, then two more to indicate the start of the server name." https://stackoverflow.com/questions/5317834/workaround-for-href-file-in-firefox

it is also explained in this bug from 2001: https://bugzilla.mozilla.org/show_bug.cgi?id=66194#c8