https://bugzilla.wikimedia.org/show_bug.cgi?id=30313

       Web browser: ---
             Bug #: 30313
           Summary: ability to override cookie domain
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Created attachment 8904
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8904
override cookie domain

In WebResponse, it is sometimes needed to override the default cookie domain
($wgCookieDomain).

The attached patch purpose a method to have the domain set up on a one time
basis. Example usage:

$wgRequest->response()->withDomain( 'wikipedia.org' )->setCookie();

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to