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

QNetworkCookie parses expires attribute incorrectly

    XMLWordPrintable

Details

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

    Description

      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() .

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes