Index: trunk/phase3/includes/StreamFile.php |
— | — | @@ -78,6 +78,10 @@ |
79 | 79 | if ( $type && $type != 'unknown/unknown' ) { |
80 | 80 | header( "Content-type: $type" ); |
81 | 81 | } else { |
| 82 | + // Send a content type which is not known to Internet Explorer, to |
| 83 | + // avoid triggering IE's content type detection. Sending a standard |
| 84 | + // unknown content type here essentially gives IE license to apply |
| 85 | + // whatever content type it likes. |
82 | 86 | header( 'Content-type: application/x-wiki' ); |
83 | 87 | } |
84 | 88 | |