Allowing ftp to work against servers that use port 22, r=bradley, sr=brendan/darin, bug 147496

git-svn-id: svn://10.0.0.236/trunk@122234 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2002-05-28 22:06:01 +00:00
parent 590d77d4fc
commit c3199263f2

View File

@@ -230,7 +230,7 @@ nsFtpProtocolHandler::NewProxiedChannel(nsIURI* url, nsIProxyInfo* proxyInfo, ns
NS_IMETHODIMP
nsFtpProtocolHandler::AllowPort(PRInt32 port, const char *scheme, PRBool *_retval)
{
if (port == 21)
if (port == 21 || port == 22)
*_retval = PR_TRUE;
else
*_retval = PR_FALSE;