mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
Bug 523127 - Firefox can't list directories on Sysax FTP server. r=dougt, sr=biesi
This commit is contained in:
parent
91e11b4fc1
commit
07cfcdf8bb
@ -1538,7 +1538,7 @@ nsFtpState::R_pasv() {
|
||||
mDataStream = do_QueryInterface(input);
|
||||
}
|
||||
|
||||
if (mRETRFailed || (!mPath.IsEmpty() && mPath.Last() == '/'))
|
||||
if (mRETRFailed || mPath.IsEmpty() || mPath.Last() == '/')
|
||||
return FTP_S_CWD;
|
||||
return FTP_S_SIZE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user