Closed Bug 308627 Opened 19 years ago Closed 19 years ago

Camino should not set the default FTP client.

Categories

(Camino Graveyard :: OS Integration, defect)

PowerPC
macOS
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED
Camino1.0

People

(Reporter: moz, Assigned: moz)

References

()

Details

(Keywords: fixed1.8)

Whenever a browser is selected from the "Default Web Browser" popup, it sets the
browser as the default FTP client as well. It shouldn't do this. (I don't know
that we should be setting the default Gopher client, either, but who uses Gopher
nowadays? ;) )

The line that does this is:

_LSSetDefaultSchemeHandlerURL(@"ftp", browserURL);

In NSWorkspace+Utils.mm. (Currently line 100:
http://lxr.mozilla.org/mozilla/source/camino/src/extensions/NSWorkspace+Utils.m#100
.)
worth discussion, i'll put on the 10 radar.
Target Milestone: --- → Camino1.0
I concur
Also, Camino doesn't repect the FTP pref, either, if it's set.  I have NetFinder
set as my FTP client and Camino blithely ignores it and handles FTP itself. 
This is not always a bad thing (say, for ADC downloads where the URL keeps
requiring a password), but I don't think Camino should be doing it.  I can open
another bug on this if needed.
Simon, I join your concurring opinion.  I don't care either way about gopher.

Regarding comment 3, I'd rather not pass things to the ftp handler unless
Safari-like behavior was implemented: if an ftp URL doesn't end in a slash,
attempt an FTP download, retrieve if a file, and pass to the ftp handler if a
directory.  Usernames and passwords, when needed, can be passed in the URL. 
That's another bug.

or maybe:

If the Finder is the ftp handler, handle ftp internally, otherwise, pass it to
the ftp handler.  (It's still another bug.)
Flags: camino1.0+
Bug 308758 filed on comment 3.
Assignee: mikepinkerton → mark
Assignee: mark → mozilla
I checked in Wevah's suggestion to remove the offending line from NSWorkspace+Utils.mm (comment 0), r=me.  Trunk and branch.
Status: NEW → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.