火狐链接到本地​​或网络的网页不工作 [英] Firefox Links to local or network pages do not work

查看:187
本文介绍了火狐链接到本地​​或网络的网页不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在那里的图像文件(.PDF)都存储在一个目录(由复印机/扫描仪时)一个.asp的应用。所创建的文件名被存储在数据库表中。查询时从网页发起到文件的链接被创建。点击时要显示的图像。
此功能在Internet Explorer工程100%。没有这样的运气在Firefox(和我有一些Firefox用户)。创建的超级链接看起来像这样文件://Server/Scanner/XYZ.pdf

I have a .asp application where image files (.PDF) are stored in a directory (fed by a copier/scanner). The created file names are stored in a database table. When a query is launched from the web page a link to the file is created. When clicked the image should be displayed. This functionality works 100% in Internet Explorer. No such luck in Firefox (and I have some Firefox users). The created hyperlink looks like this file://Server/Scanner/XYZ.pdf

Firefox的帮助建议的理由是这样的:

The Firefox helps suggest the reason is this:

链接本地或网络的网页不能正常工作。作为安全precaution,火狐禁止互联网上的网站链接到存储在本地计算环境中的文件。这些文件可能包括你的计算机上的文件,映射的网络驱动器和UNC网络路径

Links to local or network pages do not work. As a security precaution, Firefox forbids sites on the Internet to link to files that are stored in your local computing environment. These files may include files on your computer, mapped network drives, and UNC network paths

对于一种变通方法的建议似乎都不工作(或我不理解的步骤创建图像显示)
有什么建议?

None of the suggestions for a workaround seem to work (or I am not understanding the steps to create the image display) Any Suggestions?

推荐答案

这是默认的Firefox行为专为安全.The假设可能是大多数网站不知道什么和在哪里,你的本地文件(包括UNC路径)。

This is the default Firefox behavior designed for security .The assumption is probably that most web sites don't know what and where are you local files (including UNC paths).

这可以在Firefox中被关闭:

This could be turned off in firefox:


  • 输入about:配置在地址栏中,接受我会小心的

  • 找到在Firefox的新版本在旧版本security.checkloaduri或security.fileuri.strict_origin_policy的值更改为假

  • 重新启动Firefox

这应该为你做。在这里,你有更多的信息:

That should do it for you. You have more information here:

这篇关于火狐链接到本地​​或网络的网页不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆