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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user