Commit 7ee8e1d8 authored by Przemyslaw Szczepaniak's avatar Przemyslaw Szczepaniak
Browse files

Make Cookes "expires" parsing more lenient

OpenJdk cookies implementation is more
strict about the "expires" field parsing and requires
the "GMT" prefix before timezone value. This is a
regression from Android M and earlier. We were more
lenient and accepted values without the GMT prefix.

This change switches "expires" parsing code to use
libcore.net.http.HttpDate code.

Bug: 31039416
Test: CtsLibcoreTestCases
Change-Id: I13359ed3451fa480ee6f949fd657bf639335ef37
parent 1b4e76ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment