简体   繁体   English

Adobe Reader 11.0.11中的PDF链接不起作用

[英]PDF Links in Adobe Reader 11.0.11 dont work

I am working on a piece of software that uses FOP to create PDF documents from XSL Transforms. 我正在开发一款使用FOP从XSL Transforms创建PDF文档的软件。

The output is simply a pretty rendered list of information (details really don't matter), but at the bottom, there is a link that takes the user to a more in-depth document (even though these are for printing... was a requirement). 输出只是一个漂亮的信息呈现列表(细节真的没关系),但是在底部,有一个链接可以将用户带到更深入的文档(即使这些文档是用于打印的...是要求)。 This link is a relative link, constructed via: 该链接是相对链接,通过以下方式构造:

<fo:basic-link external-destination="raw.pdf?unique=XXXXXXXX">
    read more
</fo:basic-link>

This links displays fine, and when its viewed in Adobe Reader XI (11.0.10 and below), the link works fine, and when the PDF is viewed offline (not from the Web Browser, incidentally, IE only), an error is displayed saying the link cant be found. 此链接显示正常,当在Adobe Reader XI(11.0.10及更低版本)中查看该链接时,该链接工作正常,并且当离线查看PDF时(不是从Web浏览器(仅从IE浏览器)查看),将显示错误说找不到链接。

However, when I view the document in Adobe Reader 11.0.11, then if I click the link (in browser OR offline), nothing happens. 但是,当我在Adobe Reader 11.0.11中查看文档时,如果单击链接(在浏览器中或脱机),则什么也不会发生。

I have checked the Change Log for the latest version, but there is nothing super helpful (the one possibly useful entry is 3688510, but that no longer exists in their bug database). 我已经检查了更改日志的最新版本,但是没有什么超级有用的(一个可能有用的条目是3688510,但是在他们的错误数据库中不再存在)。

Does anyone know why this has happened? 有人知道为什么会这样吗?

I am currently experimenting with defining concrete links (including full path and host), but this is not ideal as the installation for this software is not really meant to know about where it is (still possible). 我目前正在尝试定义具体的链接(包括完整路径和主机),但这并不理想,因为此软件的安装并不是真的要知道它在哪里(仍然可能)。

This appears to be a security enhancement in Adobe Reader 11.0.11. 这似乎是Adobe Reader 11.0.11中的安全性增强。

[Link to Adobe Forum][1] [链接到Adobe论坛] [1]

In particular Rave (Adobe Employee) answers here : 特别是Rave(Adobe Employee)在这里回答

3. Re: Links in PDF stop working after updating to Reader 11.0.11 3. Re:更新到Reader 11.0.11后,PDF中的链接停止工作

This browser workflow has been purposely blocked because of security bug. 由于安全漏洞,该浏览器工作流程已被有意阻止。

We allow destination that starts with http: or https. 我们允许以http:或https开头的目标。 Also if the path is a platform path (non-string) we block it. 另外,如果路径是平台路径(非字符串),我们将其阻塞。

We are investigating more on it. 我们正在对此进行更多调查。 I will keep you updated on the same. 我会随时向您更新。

The effects of this security fix seem to go beyond this, though. 但是,此安全修复程序的影响似乎不止于此。

A possible work-around seems to be to disable the fix via the registry. 可能的解决方法似乎是通过注册表禁用此修复程序。

Eg AdriàAdell (Community Member) answered on a parallel thread : 例如, AdriàAdell(社区成员)在并行线程上回答

23. Re: Since upgrading to 11.0.11, relative cross document links while viewing PDF in the browser are no longer functioning 23. Re:自从升级到11.0.11以来,在浏览器中查看PDF时相对的跨文档链接不再起作用

This solution has worked for me. 这个解决方案对我有用。 I have created a reg file for X/XI/DC versions of Reader/Acrobat and 32/64 bits. 我已经为Reader / Acrobat和32/64位的X / XI / DC版本创建了一个reg文件。

 ;Adobe X - 32 bit [HKEY_LOCAL_MACHINE\\SOFTWARE\\Adobe\\Acrobat Reader\\10.0\\FeatureState] "3836774"=dword:00000000 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Adobe\\Adobe Acrobat\\10.0\\FeatureState] "3836774"=dword:00000000 ;Adobe XI - 32 bit [HKEY_LOCAL_MACHINE\\SOFTWARE\\Adobe\\Acrobat Reader\\11.0\\FeatureState] "3836776"=dword:00000000 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Adobe\\Adobe Acrobat\\11.0\\FeatureState] "3836776"=dword:00000000 ;Adobe DC - 32 bit [HKEY_LOCAL_MACHINE\\SOFTWARE\\Adobe\\Acrobat Reader\\12.0\\FeatureState] "3836780"=dword:00000000 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Adobe\\Adobe Acrobat\\12.0\\FeatureState] "3836780"=dword:00000000 ;Adobe X - 64 bit [HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Adobe\\Acrobat Reader\\10.0\\FeatureState] "3836774"=dword:00000000 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Adobe\\Adobe Acrobat\\10.0\\FeatureState] "3836774"=dword:00000000 ;Adobe XI - 64 bit [HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Adobe\\Acrobat Reader\\11.0\\FeatureState] "3836776"=dword:00000000 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Adobe\\Adobe Acrobat\\11.0\\FeatureState] "3836776"=dword:00000000 ;Adobe DC - 64 bit [HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Adobe\\Acrobat Reader\\12.0\\FeatureState] "3836780"=dword:00000000 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Adobe\\Adobe Acrobat\\12.0\\FeatureState] "3836780"=dword:00000000 

and later added : 然后添加

30. Re: Since upgrading to 11.0.11, relative cross document links while viewing PDF in the browser are no longer functioning 30. Re:自从升级到11.0.11以来,在浏览器中查看PDF时相对的跨文档链接不再起作用

On the last update of Reader, the regedit must be changed in: 在Reader的最新更新中,必须在以下位置更改regedit:

 ;Adobe DC - 32 bit [HKEY_LOCAL_MACHINE\\SOFTWARE\\Adobe\\Acrobat Reader\\DC\\FeatureState] "3836780"=dword:00000000 ;Adobe DC - 64 bit [HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Adobe\\Acrobat Reader\\DC\\FeatureState] "3836780"=dword:00000000 

[1]: https://forums.adobe.com/thread/1849489 [1]: https//forums.adobe.com/thread/1849489

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM