Closed
Bug 986227
Opened 12 years ago
Closed 12 years ago
Truncate "expires" stamp in TS to integer seconds
Categories
(Cloud Services Graveyard :: Server: Token, defect)
Cloud Services Graveyard
Server: Token
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rfkelly, Assigned: rfkelly)
Details
Attachments
(1 file)
|
742 bytes,
patch
|
telliott
:
review+
|
Details | Diff | Splinter Review |
Currently tokens come back like this:
'{"node": "https://sync-1-us-east-1.stage.mozaws.net", "expires": 1395176617.3756411, "salt": "9ad9e2", "uid": 1813963}\xe1\x04+A\x86\x07\x0c\xf6\xc8\n#\xbb\xfc\xd1\xe1 x\x1aF\x1a\x1d\x8d\xa2q\xb4\x9el\xce\xb6\x90\xb3\x8f'
The float "expires" stamp is variable-length which makes for confusing nginx logs, and the extra precision there is not really useful. We should truncate to integer seconds.
| Assignee | ||
Comment 1•12 years ago
|
||
Trivial patch to make token expiry be integer seconds.
Attachment #8398336 -
Flags: review?(telliott)
Updated•12 years ago
|
Attachment #8398336 -
Flags: review?(telliott) → review+
| Assignee | ||
Comment 2•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•3 years ago
|
Product: Cloud Services → Cloud Services Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•