Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-16798

QNetworkCookie parses expires attribute incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.0.0 Beta 1
    • 4.7.1
    • Network: Cookies
    • None
    • 3ff70a838b5dd06cd55e17e1e55d5922e5155745

      Header looking like this: Set-Cookie: name=value; path=/; expires=
      being parsed different from any other browser, and sets expiration date in the past, instead of treating this cookie as 'session cookie', like other browsers do.
      Looks like QNetworkCookiePrivate::parseSetCookieHeaderLine() gets empty(default?) QDateTime from parseDateString() .

        For Gerrit Dashboard: QTBUG-16798
        # Subject Branch Project Status CR V

            shkearns Shane Kearns
            shekyan Sergey Shekyan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes