Skip to content

Commit 13a28aa

Browse files
committed
Escape quote sign in etag
1 parent 8671fc0 commit 13a28aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extension/httpfs/s3fs.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,6 +1281,7 @@ void AWSListObjectV2::ParseFileList(string &aws_response, vector<OpenFileInfo> &
12811281
auto etag_pos = FindTagContents(contents, "ETag", 0, etag);
12821282
if (etag_pos.IsValid()) {
12831283
etag = StringUtil::Replace(etag, "&quot;", "\"");
1284+
etag = StringUtil::Replace(etag, "&#34;", "\"");
12841285
extra_info->options["etag"] = Value(std::move(etag));
12851286
}
12861287
auto size_pos = FindTagContents(contents, "Size", 0, size);

0 commit comments

Comments
 (0)