Closed Bug 152644 Opened 23 years ago Closed 23 years ago

file: usage in page from web doesn't work.

Categories

(Core :: Networking: File, defect)

Sun
Solaris
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 122022

People

(Reporter: tony_freixas, Assigned: samir_bugzilla)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.0) Gecko/20020611 BuildID: 2002061103 We have some intranet documentation served up by a web server. The pages have a link to a file (the .h file corresponding to a C++ class we're documenting). Clicking on this link does nothing; it doesn't even produce an error. If I copy the page's source code to a local file and open that file in Mozilla, the link works. I am guessing that there is some "security" feature at work here, but I don't know. Reproducible: Always Steps to Reproduce: 1. Set up a file with something like <html> <body> <a href="file:/<some file>">Some file</a> </body> </html> 2. Place this file where it can be accessed through a web server. 3. Click on the link - it shouldn't work. 4. Open the file directly. 5. Click on the link - it should work. I tried this on our intranet and reproduced the problem. Unfortunately, I have no access to any web server on which I could place a link for you nor could I provide a file to point to. Actual Results: See above Expected Results: See above As this works with Netscape and since we have a lot of documentation that depends on these file links, its a bit of a problem. Note: We use file:/, not file:///.
*** This bug has been marked as a duplicate of 122022 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
v
Status: RESOLVED → VERIFIED
-> file
Component: XP Apps → Networking: File
You need to log in before you can comment on or make changes to this bug.