| Index: net/url_request/url_request_ftp_job.cc
|
| diff --git a/net/url_request/url_request_ftp_job.cc b/net/url_request/url_request_ftp_job.cc
|
| index fb345990386e87a00ec263490966bebb93afef10..76c235cfaf1a7558249ec90c16725316929fe9b0 100644
|
| --- a/net/url_request/url_request_ftp_job.cc
|
| +++ b/net/url_request/url_request_ftp_job.cc
|
| @@ -41,7 +41,9 @@ URLRequestJob* URLRequestFtpJob::Factory(URLRequest* request,
|
| int port = request->url().IntPort();
|
| if (request->url().has_port() &&
|
| !IsPortAllowedByFtp(port) && !IsPortAllowedByOverride(port)) {
|
| - return new URLRequestErrorJob(request, ERR_UNSAFE_PORT);
|
| + return new URLRequestErrorJob(request,
|
| + request->context()->network_delegate(),
|
| + ERR_UNSAFE_PORT);
|
| }
|
|
|
| return new URLRequestFtpJob(request,
|
|
|