added a temp default http port (80)
git-svn-id: svn://10.0.0.236/trunk@29790 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -104,7 +104,13 @@ nsHttpProtocolHandler::NewUrl(const char* aSpec,
|
||||
|
||||
rv = url->Init(aSpec, aBaseUrl);
|
||||
|
||||
*result = NS_STATIC_CAST(nsIUrl*, url);
|
||||
nsIUrl* realUrl = NS_STATIC_CAST(nsIUrl*, url);
|
||||
|
||||
// XXX this is the default port for http. we need to strip out the actual
|
||||
// XXX requested port.
|
||||
realUrl->SetPort(80);
|
||||
|
||||
*result = realUrl;
|
||||
NS_ADDREF(*result);
|
||||
|
||||
return rv;
|
||||
|
||||
Reference in New Issue
Block a user