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

Add IE support for cookie deletion. #966

Closed
wants to merge 1 commit into from
Closed

Add IE support for cookie deletion. #966

wants to merge 1 commit into from

Conversation

sethmlarson
Copy link

@sethmlarson sethmlarson commented Jul 15, 2016

What do these changes do?

Adds support for IE cookie expiration.

Are there changes in behavior for the user?

Not unless they are deleting cookies, otherwise they will actually delete on IE!

Related issue number

None.

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes

IE<=11 ( !!! ) doesn't support the MaxAge property for cookies so del_cookie() also needs to set the Expires cookie header to support IE. Uses the UTC epoch for a standard expire time.

IE<=11 ( !!! ) doesn't support the MaxAge property for cookies so del_cookie() also needs to set the Expires cookie header to support IE. Uses the UTC epoch for a standard expire time.
@sethmlarson
Copy link
Author

Obviously need to update the cookie tests along with this pull request, I'll add those as well.

@asvetlov
Copy link
Member

Looks good. Please update tests.

@asvetlov
Copy link
Member

Fixed by #994

@asvetlov asvetlov closed this Jul 23, 2016
@lock
Copy link

lock bot commented Oct 29, 2019

This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.

If you feel like there's important points made in this discussion,
please include those exceprts into that new issue.

@lock lock bot added the outdated label Oct 29, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants