commit e6194113a3c81563590eabf8f761ccb988bb917c
Author: Tim Burke <email address hidden>
Date: Fri Jan 8 16:38:31 2016 -0800
Validate X-Timestamps
Previously, attempting to PUT a new object with an X-Timestamp header
less than or equal to zero (ie, for a timestamp on or before 1970-01-01
00:00:00) would cause the object-server to 500.
While we're at it, cap X-Timestamp at 9999999999 (2286-11-20 17:46:40)
so we don't get an eleventh digit before the decimal point.
Reviewed: https:/ /review. openstack. org/265488 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=e6194113a3c 81563590eabf8f7 61ccb988bb917c
Committed: https:/
Submitter: Jenkins
Branch: master
commit e6194113a3c8156 3590eabf8f761cc b988bb917c
Author: Tim Burke <email address hidden>
Date: Fri Jan 8 16:38:31 2016 -0800
Validate X-Timestamps
Previously, attempting to PUT a new object with an X-Timestamp header
less than or equal to zero (ie, for a timestamp on or before 1970-01-01
00:00:00) would cause the object-server to 500.
While we're at it, cap X-Timestamp at 9999999999 (2286-11-20 17:46:40)
so we don't get an eleventh digit before the decimal point.
Closes-Bug: 1532471 29eaf9bfe54bd08 6c320b3429e
Change-Id: I23666ec8a067d8