Closed Bug 266531 Opened 20 years ago Closed 20 years ago

Open With dialogue is unusable with symlinks

Categories

(Firefox :: File Handling, defect)

x86
FreeBSD
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 247792

People

(Reporter: elladan, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040609 Firefox/0.8
Build Identifier: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040609 Firefox/0.8

If I try to use a program with a symlink for open with, such as gvim, firefox
ignores the path I typed in and replaces it with the destination of the symlink.

For example, I type in:

/usr/local/bin/gvim

Firefox mangles my string, and replaces it with:

/usr/local/bin/vim

This of course doesn't work, since vim behaves much differently if it's called
as gvim vs. if it's called as vim.

Firefox must not mangle the string I type in.  If I enter
"/igle-wiggle-kajiggle/woop-woop/wagawumba!!@" it should attempt to execute
that program.  Anything else is terminally broken.


Reproducible: Always
Steps to Reproduce:
1. Try to set /usr/local/bin/gvim as the viewer for something
2. There is no step 2.
3.

Actual Results:  
It failed to use /usr/local/bin/gvim as the viewer.

Expected Results:  
It should execute the command I type in.
Probably dupe of Bug 208739, but I won't chance it.
Whiteboard: DUPEME
Definitely looks like bug 247792 (same thing being attempted).

*** This bug has been marked as a duplicate of 247792 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.