[Checkins] [zopefoundation/Zope] 77f483: Update expire date on expireCookie function

GitHub noreply at github.com
Sun Nov 25 03:13:46 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/Zope
  Commit: 77f483a22d6b0cb00883006cf38928cda77b75f9
      https://github.com/zopefoundation/Zope/commit/77f483a22d6b0cb00883006cf38928cda77b75f9
  Author: gabriel diniz gisoldo <gabrielgisoldi at gmail.com>
  Date:   2018-11-22 (Thu, 22 Nov 2018)

  Changed paths:
    M src/ZPublisher/HTTPResponse.py

  Log Message:
  -----------
  Update expire date on expireCookie function

According to https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date and https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie , the date used on expires should be in the same format as Date on HTTP Header.
As of Firefox 60.3.0esr, passing the date in any other format doesn't work and is ignored by the browser.


  Commit: 39025ceb79c02f9c6b9c291ea1bab141d45bc1b4
      https://github.com/zopefoundation/Zope/commit/39025ceb79c02f9c6b9c291ea1bab141d45bc1b4
  Author: gabriel diniz gisoldo <gabrielgisoldi at gmail.com>
  Date:   2018-11-23 (Fri, 23 Nov 2018)

  Changed paths:
    M src/ZPublisher/tests/testHTTPResponse.py

  Log Message:
  -----------
  Update expire date format on tests

Correcting all tests involving cookies to use the correct date format


  Commit: 96627fbb931421acb199cc5ef0194ccb39f31f15
      https://github.com/zopefoundation/Zope/commit/96627fbb931421acb199cc5ef0194ccb39f31f15
  Author: Jens Vagelpohl <jens at netz.ooo>
  Date:   2018-11-24 (Sat, 24 Nov 2018)

  Changed paths:
    M src/ZPublisher/HTTPResponse.py
    M src/ZPublisher/tests/testHTTPResponse.py

  Log Message:
  -----------
  Merge pull request #405 from gabrielgisoldo/master

Update expire date on expireCookie function


Compare: https://github.com/zopefoundation/Zope/compare/49d7e5bf2804...96627fbb9314
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list