Highlighted

Windows 7 is truncating url that contains #<id> tag.

New Here ,
Jan 13, 2015

Copy link to clipboard

Copied

I am using RH8 generated files.  In java code, I am calling Runtime.getRuntime().exec(command) where command = "rundll32 url.dll,FileProtocolHandler " + url.  The url is a file url (pointing to a local file on my computer) appended with #<id=2187>>newwnd=false.  I have tried using the Desktop command, but java rejects the URI with the # tag.

The specific help page for id 2187 is not displayed.  The main page toc is displayed, which is the url without the # and Id.

The url works when typed into the browser address line (Firefox 33 & IE11) , so I do not think the problem is with the browser or RoboHelp generated files.

This problem is similar to Peter Grainger Snippet 13/8, but the solutions from that snippet that I have tried seem to be geared to a particular browser version.

Any suggestions would be appreciated.

Topics

WebHelp

Views

133

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Windows 7 is truncating url that contains #<id> tag.

New Here ,
Jan 13, 2015

Copy link to clipboard

Copied

I am using RH8 generated files.  In java code, I am calling Runtime.getRuntime().exec(command) where command = "rundll32 url.dll,FileProtocolHandler " + url.  The url is a file url (pointing to a local file on my computer) appended with #<id=2187>>newwnd=false.  I have tried using the Desktop command, but java rejects the URI with the # tag.

The specific help page for id 2187 is not displayed.  The main page toc is displayed, which is the url without the # and Id.

The url works when typed into the browser address line (Firefox 33 & IE11) , so I do not think the problem is with the browser or RoboHelp generated files.

This problem is similar to Peter Grainger Snippet 13/8, but the solutions from that snippet that I have tried seem to be geared to a particular browser version.

Any suggestions would be appreciated.

Topics

WebHelp

Views

134

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jan 13, 2015 0

Have something to add?

Join the conversation