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

iOS port of QNetworkRequest is not respect Cookie management of Qt API

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.3.2
    • Network: Cookies
    • None
    • Mac OSX 10.10, iOS 7.1 / iOS 8
    • iOS/tvOS/watchOS

    Description

      Hello.

      I was working on a mobile application using Http Request. iOS does the cookie management as default. I partially examine the qtbase/src/network/access/qnetworkreplynsurlconnectionimpl.mm. There should be a line like

      nsRequest.HTTPShouldHandleCookies = NO;
      

      According the link below, this property is default YES. Qt API should handle this with QNetworkCookieJar if we want to.

      https://developer.apple.com/library/Mac/documentation/Cocoa/Reference/Foundation/Classes/NSURLRequest_Class/index.html#//apple_ref/occ/instp/NSURLRequest/HTTPShouldHandleCookies

      The main problem, Cookies managed by iOS is permanently stored in app sandbox. The get rid of that, either you should delete your application, or should delete programmatically. Either way, Qt should have us own classes for this.

      Attachments

        Activity

          People

            richard Richard Moe Gustavsen
            firatagdas Firat Agdas
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: