If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

"file://" link in a received message isn't opened when clicked

RESOLVED INVALID

Status

SeaMonkey
MailNews: Message Display
RESOLVED INVALID
15 years ago
13 years ago

People

(Reporter: Uri Dor, Assigned: (not reading, please use seth@sspitzer.org instead))

Tracking

Trunk
x86
Windows 2000

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2) Gecko/20021126
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2) Gecko/20021126

I received an email with a file:// link in it. the link was highlighted but
didn't work when clicked.
this didn't work with local nor network drives.
example:
file://D:\uri\config_stuff.txt
I tried with forward slashes (file://D:/uri/config_stuff.txt) - didn't work either

Reproducible: Always

Steps to Reproduce:
1. send yourself a message with a file:// link
2. click the link

Actual Results:  
nothing

Expected Results:  
should have opened the link

I'm aware there could be a security problem here, but I should be the judge of
that. If I want to open .DOC files or .HTML files, that's my business. copying
the link into a file explorer isn't so convenient.

Updated

15 years ago
QA Contact: olgam → laurel
What Do you see in Tools/web Development/ Javascript Console after you clicked
on that link ?

Comment 2

15 years ago
This feature is disabled by design for security reasons. See Bug 84128 comment
#20 for an explanation. Marking INVALID.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → INVALID
(Reporter)

Comment 3

15 years ago
just 2 thoughts, Stefan:
1) why is the text maked as a link (blue underlined)?
2) why is the file opened if I right-click the link and select "open in a new
window"?

answer: because Moz will accept a file's path as a URL to open, just like it
allows "open file" from the file menu.
I think the file should be opened when the link is clicked, not just through the
right-click menu (which also opens a blank Navigator window)
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
1) because it's a valid URL scheme and it will open if you enable the hidden pref
2) open in new window doesn't work with all recent builds.

with the hidden pref set it will open valid file:// links 
(file://D:\uri\config_stuff.txt is invalid)
Status: UNCONFIRMED → RESOLVED
Last Resolved: 15 years ago15 years ago
Resolution: --- → INVALID
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.