Skip to content

Commit 09e6376

Browse files
committed
Merge pull request #82 from NepLiang/fixPfop
Fix pfop
2 parents 49b721e + 2182d42 commit 09e6376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Qiniu/RS/Pfop.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public string Do(EntryPath entry, string[] fops, Uri notifyURL,string pipleline,
8080
sb.Append(fops[i]);
8181
}
8282

83-
string body = string.Format("bucket={0}&key={1}&fops={2}&notifyURL={3}&force={4}&pipeline={5}", entry.Bucket, StringEx.ToUrlEncode(entry.Key), sb.ToString(), notifyURL.ToString(), force, pipleline);
83+
string body = string.Format("bucket={0}&key={1}&fops={2}&notifyURL={3}&force={4}&pipeline={5}", entry.Bucket, StringEx.ToUrlEncode(entry.Key), Qiniu.Util.StringEx.ToUrlEncode(sb.ToString()), notifyURL.ToString(), force, pipleline);
8484
CallRet ret = CallWithBinary(Config.API_HOST + "/pfop/", "application/x-www-form-urlencoded",StreamEx.ToStream(body), body.Length);
8585

8686
if (ret.OK)

0 commit comments

Comments
 (0)