Closed
Bug 1894824
Opened 1 year ago
Closed 1 year ago
[wpt-sync] Sync PR 46042 - Use email.utils.parsedate_to_datetime to parse RFC (2)822 dates
Categories
(Testing :: web-platform-tests, task, P4)
Testing
web-platform-tests
Tracking
(firefox128 fixed)
RESOLVED
FIXED
128 Branch
Tracking | Status | |
---|---|---|
firefox128 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 46042 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/46042
Details from upstream follow.
Sam Sneddon <gsnedders@apple.com> wrote:
Use email.utils.parsedate_to_datetime to parse RFC (2)822 dates
After c3a572d, checking the key cert via OpenSSL failed with a mismatch between aware and naive datetime objects. This happened because strptime creates a naive datetime object even when "%Z" is in the format string.
Instead, use the RFC 2822 date parser in email.utils, as this is the output format of OpenSSL, which produces an aware datetime object.
Fixes #46040.
Assignee | ||
Comment 1•1 year ago
|
||
PR 46042 applied with additional changes from upstream: c3a572d8051a24c10e10625715ed31bd2764bb4c
Assignee | ||
Updated•1 year ago
|
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
Assignee | ||
Updated•1 year ago
|
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Assignee | ||
Comment 4•1 year ago
|
||
Test result changes from PR not available.
Pushed by ctuns@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/002acda6bf82
[wpt PR 46042] - Use email.utils.parsedate_to_datetime to parse RFC (2)822 dates, a=testonly
Comment 6•1 year ago
|
||
bugherder |
Status: REOPENED → RESOLVED
Closed: 1 year ago → 1 year ago
status-firefox128:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•