Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove two-digit year cookie format support & unit test (fails on Ubu… #1707

Merged
merged 1 commit into from
Sep 26, 2018

Conversation

maksimorlovich
Copy link
Contributor

…ntu 14.04)

@jrose-apple
Copy link
Contributor

@swift-ci Please test

@jrose-apple
Copy link
Contributor

Unfortunately I don't think we have any way to test 14.04 from CI right now. @shahmishal?

@shahmishal
Copy link
Member

Correct, we don't currently support PR testing on 14.04.

@jrose-apple
Copy link
Contributor

I'm going to merge this ahead of Foundation reviewers to get the bots back, but there's probably a way to write this test so that it can dynamically check for a new enough ICU. That's outside my area, though, so for now let's take this.

@jrose-apple jrose-apple merged commit 4438c6e into apple:master Sep 26, 2018
maksimorlovich added a commit to maksimorlovich/swift-corelibs-foundation that referenced this pull request Sep 27, 2018
parkera pushed a commit that referenced this pull request Oct 1, 2018
* Various Cookie fixes

- Add support for additional Set-Cookie formats that web servers can return
- Properly handle HTTP header parsing to extract values since values can contain colons
- Make sure to set cookies on redirect requests
- Use setValue instead of addValue when applying cookies to requests otherwise,
  Cookie header might contain: cookie1=value1,cookie1=value1; cookie2=value2
- New unit tests for cookie formats and redirect with Set-Cookie

(cherry picked from commit 97a93b5)

* Remove two-digit year cookie format support & unit test (fails on Ubuntu 14.04) (#1707)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants