|Help Contents in 3.6.2 / 3.7.0 [message #718275]
||Tue, 23 August 2011 19:31
| James Peltzer
Registered: July 2009
I am running into a difference between how help is processed when viewing
context-sensitive help and when viewing the help contents.
My help is contained in PDF files stored in the local file system.
Currently, there is nothing I can do to change where the help is stored (it
is part of how 3rd parties contribute their product manuals to our RCP).
When I view it in the help contents, my URLs all have the form:
This used to be fine and the
org.eclipse.help.internal.webapp.servlet.EclipseConnector's "transfer" was
called, the check to see if the topic began with "file:" succeeded, and the
file was loaded. Then, I believe to prevent a scripting attack, an extra
check ("&& UrlUtil.wasOpenedFromHelpDisplay(url)") was added. The problem
is, this is always returning false for my help documents and I end up with
"Topic not found". Everything works fine when the same documents are
accessed via context-sensitive help.
When I built on 3.6.2, I simply removed the check in my RCP. No surprise,
when I started building against 3.7.0, the problem cropped up again. So,
I'm guessing I should probably find the correct solution to the problem.
Can someone guide me on what I need to do to make
UrlUtil.wasOpenedFromHelpDisplay return true?
Powered by FUDForum
. Page generated in 0.01625 seconds