Skip to content

Commit 89e7db7

Browse files
committed
urlencode-bug-fix
1 parent 2c3e6f6 commit 89e7db7

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Qiniu/RS/Entry.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class Entry : CallRet
4040
public Entry (CallRet ret)
4141
: base(ret)
4242
{
43-
if (OK && string.IsNullOrEmpty (Response)) {
43+
if (OK && !string.IsNullOrEmpty (Response)) {
4444
try {
4545
Unmarshal (Response);
4646
} catch (Exception e) {

Qiniu/RS/RSPath.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public string Bucket {
2020
/// 文件key
2121
/// </summary>
2222
public string Key {
23-
get { return System.Web.HttpUtility.UrlEncode (key); }
23+
get { return key; }
2424
}
2525

2626
private string uri;

bin/Qiniu.dll

3 KB
Binary file not shown.

0 commit comments

Comments
 (0)