MIME is an acronym...
This commit is contained in:
parent
3d94b0e49b
commit
d4b6572b83
2 changed files with 3 additions and 3 deletions
|
|
@ -293,8 +293,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
|
|||
* Don't show non-functional toolbar buttons on Opera 7 anymore
|
||||
* (bug 9151) Fix relative subpage links with section fragments
|
||||
* (bug 10560) Adding a space between category letter heading and "continues"
|
||||
* Security fix: Disable retrieving pages as raw js/css that should not contain
|
||||
such content.
|
||||
* Don't allow retrieving non-JavaScript/CSS pages with "text/css" or "text/javascript"
|
||||
MIME types
|
||||
|
||||
== API changes since 1.10 ==
|
||||
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ class RawPage {
|
|||
$dangerousTypes = array( $wgJsMimeType, 'text/css' );
|
||||
if ( in_array( $this->mContentType, $dangerousTypes ) &&
|
||||
!($this->mTitle->isCssOrJsPage() || $this->mTitle->isCssJsSubpage() ) )
|
||||
return '/* Page type not compatible with requested mime type. */';
|
||||
return '/* Page type not compatible with requested MIME type. */';
|
||||
|
||||
if($this->mGen) {
|
||||
$sk = $wgUser->getSkin();
|
||||
|
|
|
|||
Loading…
Reference in a new issue