Closed
Bug 95277
Opened 24 years ago
Closed 24 years ago
ftp: URL w/o path should redirect to home dir
Categories
(Core Graveyard :: Networking: FTP, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.6
People
(Reporter: jlarsen, Assigned: andreas.otte)
References
Details
(Keywords: testcase)
I wish I could give a public example, but I can't, anyways.
Many ftp sites have user directories that when you goto an ftp site using your
name you login to that directory.
ftp://username@someftp.com <--without the ending /
gets changed into
ftp://username@someftp.com/home/somename
or whatever the ftp server specifies as the home directory for that user.
This works in 4.x and works partially in IE.
set to networking component :)
Component: Browser-General → Networking
Comment 2•24 years ago
|
||
networking:ftp is the correct one.
Wich build are you using (please include in all your bug reports the build ID !)
Assignee: asa → dougt
Component: Networking → Networking: FTP
QA Contact: doronr → benc
Comment 3•24 years ago
|
||
I can't find a dupe (I must be too stupid) -> confirming
Dougt: You can find me on IRC if you need a testcase
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•24 years ago
|
Target Milestone: --- → mozilla0.9.5
Comment 5•24 years ago
|
||
Yeah, I saw this. Neither dougt or I can find the code which used to handle
this, though.
Status: NEW → ASSIGNED
This is possibly related to the discussion in bug 84242, where URL->filesystem
navigation is not correct.
I need to do a trace, but my guess is that the FTP clients are using some extra
commands to determine their "current working directory" after a establishing the
control connection.
Can someone provide a public example or a packet trace?
Keywords: qawanted
Summary: ftp home directory not recognized. → ftp: URL w/o path should redirect to home dir
Comment 8•24 years ago
|
||
benc: No. If we did a PWD instead of a CWD, then we could get the 'real' path.
I'm not sure how to tell our consumers that we're redirecting, though. I need to
think about this.
Comment 9•24 years ago
|
||
in bug 84242, the new behaviour will be:
ftp://user@host/ -> login dir
ftp://user@host// -> /
See discussion in that bug.
-> andreas
Assignee | ||
Comment 10•24 years ago
|
||
fix for bug 84242 is checked in, so this is also fixed.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
![]() |
||
Comment 11•24 years ago
|
||
*** Bug 108723 has been marked as a duplicate of this bug. ***
Comment 12•23 years ago
|
||
VERIFIED:
Mozilla 1.0, RC1, Win 98.
-qawanted, +testcase
Updated•1 year ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•