Skip to content

Commit

Permalink
Merge pull request #63 from tencentyun/feature_huberyxxiao_e79daf68
Browse files Browse the repository at this point in the history
修复批量删除接口响应解析错误
  • Loading branch information
Huberyxiao authored Jul 15, 2024
2 parents 9439f67 + 04e763e commit adedbdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cos_c_sdk/cos_sys_define.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ typedef apr_array_header_t cos_array_header_t;
#define CR (char) 13
#define CRLF "\x0d\x0a"

#define COS_VERSION "5.0.20"
#define COS_VERSION "5.0.21"
#define COS_VER "cos-sdk-c/" COS_VERSION

#define COS_HTTP_PREFIX "http://"
Expand Down
2 changes: 1 addition & 1 deletion cos_c_sdk/cos_xml.c
Original file line number Diff line number Diff line change
Expand Up @@ -2012,7 +2012,7 @@ void cos_object_key_parse(cos_pool_t *p, mxml_node_t * xml_node,
node_content = mxmlGetOpaque(node);
if (node_content != NULL) {
encoded_key = (char*)node_content;
key = (char *) cos_palloc(p, strlen(encoded_key));
key = (char *) cos_palloc(p, strlen(encoded_key) + 1);
cos_url_decode(encoded_key, key);
cos_str_set(&content->key, key);
}
Expand Down

0 comments on commit adedbdc

Please sign in to comment.