BUG: File Protocol URLs Do Not Work Correctly with # FragmentsLast reviewed: February 25, 1998Article ID: Q181674 |
The information in this article applies to:
SYMPTOMSFile protocol URLs with # (number sign) fragments do not work correctly in Internet Explorer 4.0x. This is true for URLs that point to HTML and non- HTML files. When navigating to a file URL with a # fragment, one of the following two problems may occur:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThe # fragments are used to provide bookmark and parameter information within the URL. For example, you can use "http://host/filename.htm#bookmark" to instruct Internet Explorer 4.0 to load Filename.htm and scroll to "bookmark". This works correctly with the http protocol, but does not work with the file protocol. This problem only occurs if you enter the file URL in the address bar of Internet Explorer. This problem does not occur if the file URL with the # fragment is used in an anchor tag or when setting the location.href property.
Steps to Reproduce BehaviorIf you have the Internet Client SDK installed in the directory C:\Inetsdk, typing the following in the address bar of IE results in one of the errors listed above.
file:///C:/INetSDK/Help/inet0013.htm#positioning_0503000101000000However, if you omit the # parameter as follows, it works correctly.
file:///C:/INetSDK/Help/inet0013.htm |
Additional query words: URL FILE LOCAL BOOKMARK RFC1738 IE IE4
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |