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

           Summary: img_auth.php, IE and SSL
           Product: MediaWiki
           Version: 1.15.5
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: Images and files
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: pal.mykleb...@gmail.com
                CC: gpaum...@wikimedia.org, bryan.tongm...@gmail.com


When you try to download a file through img_auth.php in IE (works fine in both
Firefox and Opera) on a host served over SSL you get an error.

I worked around the problem by changing the following line in img_auth.php:

wfStreamFile( $filename, array( 'Cache-Control: private', 'Vary: Cookie' ) );

to:

wfStreamFile( $filename, array("Expires: 0", "Cache-Control: private", "Pragma:
cache"));

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to