mirror of
https://github.com/ceph/ceph
synced 2025-02-23 19:17:37 +00:00
Merge pull request #38075 from joke-lee/s3-auth-date-fix
rgw: fix RequestTimeTooSkewed when Date contain RFC-822/ISO 8601 standard timezone
This commit is contained in:
commit
ddb5a03b47
@ -221,6 +221,7 @@ bool rgw_create_s3_canonical_header(const req_info& info,
|
||||
return false;
|
||||
}
|
||||
*header_time = utime_t(internal_timegm(&t), 0);
|
||||
*header_time -= t.tm_gmtoff;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user