[Pkg-mediawiki-commits] r469 - in mediawiki/trunk/debian: . patches

Thorsten Glaser tg at alioth.debian.org
Wed Sep 4 14:57:23 UTC 2013


Author: tg
Date: 2013-09-04 14:57:22 +0000 (Wed, 04 Sep 2013)
New Revision: 469

Added:
   mediawiki/trunk/debian/patches/allow_pdf.patch
Modified:
   mediawiki/trunk/debian/changelog
   mediawiki/trunk/debian/patches/series
Log:
add patch to sync $wgFileExtensions with $wgTrustedMediaFormats


Modified: mediawiki/trunk/debian/changelog
===================================================================
--- mediawiki/trunk/debian/changelog	2013-09-04 14:52:38 UTC (rev 468)
+++ mediawiki/trunk/debian/changelog	2013-09-04 14:57:22 UTC (rev 469)
@@ -5,8 +5,9 @@
   * Make my self-drawn CC images nicer and more consistent
   * New upstream security release
   * Secure the default images directory (Closes: #716884)
+  * Allow PDF upload (Closes: #716957)
 
- -- Thorsten Glaser <tg at mirbsd.de>  Wed, 04 Sep 2013 16:52:03 +0200
+ -- Thorsten Glaser <tg at mirbsd.de>  Wed, 04 Sep 2013 16:56:47 +0200
 
 mediawiki (1:1.19.7+dfsg-1) unstable; urgency=low
 

Added: mediawiki/trunk/debian/patches/allow_pdf.patch
===================================================================
--- mediawiki/trunk/debian/patches/allow_pdf.patch	                        (rev 0)
+++ mediawiki/trunk/debian/patches/allow_pdf.patch	2013-09-04 14:57:22 UTC (rev 469)
@@ -0,0 +1,15 @@
+$Id$
+
+Sync $wgFileExtensions with $wgTrustedMediaFormats (#716957)
+
+--- a/includes/DefaultSettings.php
++++ b/includes/DefaultSettings.php
+@@ -536,7 +536,7 @@ $wgRepositoryBaseUrl = "http://commons.w
+  * such as odt or doc, and untrusted users are allowed to upload files, then
+  * your wiki will be vulnerable to cross-site request forgery (CSRF).
+  */
+-$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg' );
++$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf' );
+ 
+ /** Files with these extensions will never be allowed as uploads. */
+ $wgFileBlacklist = array(


Property changes on: mediawiki/trunk/debian/patches/allow_pdf.patch
___________________________________________________________________
Added: svn:keywords
   + Id

Modified: mediawiki/trunk/debian/patches/series
===================================================================
--- mediawiki/trunk/debian/patches/series	2013-09-04 14:52:38 UTC (rev 468)
+++ mediawiki/trunk/debian/patches/series	2013-09-04 14:57:22 UTC (rev 469)
@@ -7,3 +7,4 @@
 bz40889.patch
 bz39635.patch
 debian_specific_config.patch
+allow_pdf.patch




More information about the Pkg-mediawiki-commits mailing list