Skip to content

Commit 19dc9c6

Browse files
committed
add test case
1 parent 01666e6 commit 19dc9c6

File tree

2 files changed

+520
-520
lines changed

2 files changed

+520
-520
lines changed

src/fdcache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1632,7 +1632,7 @@ int FdEntity::UploadPendingMeta()
16321632
AutoLock auto_lock(&fdent_lock);
16331633

16341634
headers_t updatemeta = orgmeta;
1635-
updatemeta["x-cos-copy-source"] = urlEncode(service_path + bucket + get_realpath(path.c_str()));
1635+
updatemeta["x-cos-copy-source"] = urlEncode(service_path + bucket + "-" + appid + get_realpath(path.c_str()));
16361636
// put headers, no need to update mtime to avoid dead lock
16371637
int result = put_headers(path.c_str(), updatemeta, true, false);
16381638
if(0 != result){

0 commit comments

Comments
 (0)