| Index: google_apis/drive/drive_api_requests.cc
|
| diff --git a/google_apis/drive/drive_api_requests.cc b/google_apis/drive/drive_api_requests.cc
|
| index 607c657f45320d4a6774e7bb62582b5d40cdeee0..9c45cdb3d121dba6676c4f0d6372077412b9d3bb 100644
|
| --- a/google_apis/drive/drive_api_requests.cc
|
| +++ b/google_apis/drive/drive_api_requests.cc
|
| @@ -1311,7 +1311,8 @@ void BatchUploadRequest::MayCompletePrepare() {
|
| break;
|
| }
|
| const std::string header = base::StringPrintf(
|
| - kBatchUploadRequestFormat, method.c_str(), url.path().c_str(),
|
| + kBatchUploadRequestFormat, method.c_str(),
|
| + url.path().as_string().c_str(),
|
| url_generator_.GetBatchUploadUrl().host().c_str(), type.c_str());
|
|
|
| child->data_offset = header.size();
|
|
|