[IE7] URL Encoding Local Files

Discussion in 'Internet Explorer' started by Shelley, Jan 24, 2008.

  1. Shelley

    Shelley Guest

    Is it possible to use the file protocol when navigating local files in
    Internet Explorer 7?

    For example, I have a web site that is being developed locally. Some of the
    filenames have special characters that need to be URL-encoded (for example:
    com.test.report#run().html). To navigate between these files in the website,
    relative URL-encoded URIs are used (for example: <a
    href="com.test.report%23run%28%29.html">). When I attempt to test the site
    in IE, IE automatically converts the path to a local file system path (ex:
    c:\etc\), not a complete URL using the file protocol (even if my entry point
    is via a complete file protocol URL, ex: file://c:/etc/).

    IE7 is unable to navigate to the url-encoded relative paths ("[Windows
    Internet Explorer] Cannot find <file>. Make sure the path or Internet address
    is correct.")
    (Other browsers, including IE6, handle this link and navigation correctly.)

    Because of this, it is impossible to navigate through the site in IE.

    Is there an option to prevent IE from automatically converting file:// URLs
    to local file system paths?
     
    Shelley, Jan 24, 2008
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.