Skip to content

Commit 2298c78

Browse files
committed
Quote ETag value.
1 parent 5fefb4f commit 2298c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/XrdHttp/XrdHttpReq.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2811,7 +2811,7 @@ void XrdHttpReq::addAgeHeader(std::string &headers) {
28112811
}
28122812

28132813
void XrdHttpReq::addETagHeader(std::string &headers) {
2814-
headers += std::string("Etag: ") + std::to_string(etagval);
2814+
headers += std::string("Etag: \"") + std::to_string(etagval) + "\"";
28152815
}
28162816

28172817
void XrdHttpReq::reset() {

0 commit comments

Comments
 (0)