Skip to content

Commit

Permalink
fix the error in the parsing of delete objects response body.
Browse files Browse the repository at this point in the history
  • Loading branch information
huiguangjun committed Jul 26, 2024
1 parent a5b44a0 commit 0800bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oss_c_sdk/oss_xml.c
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,7 @@ void oss_object_key_parse(aos_pool_t *p, mxml_node_t * xml_node,
node_content = mxmlGetOpaque(node);
if (NULL != node_content) {
encoded_key = (char*)node_content;
key = (char *) aos_palloc(p, strlen(encoded_key));
key = (char *) aos_palloc(p, strlen(encoded_key + 1));
aos_url_decode(encoded_key, key);
aos_str_set(&content->key, key);
}
Expand Down

0 comments on commit 0800bed

Please sign in to comment.