diff options
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2016-11-16 16:43:15 +0000 |
---|---|---|
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2016-11-17 13:45:01 +0000 |
commit | 7ee8e1d8d92555a9d12aa88ee00fdde386404e84 (patch) | |
tree | 99f360e2950bacd6fa1abf7a9840e0ee5b801b53 /annotations/generate_annotated_java_files.py | |
parent | 1b4e76ec5d9912ebc7a64be8ae833ed6f7dc1057 (diff) |
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
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions