<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2635</bug_id>
          
          <creation_ts>2012-06-20 14:57:30 +0000</creation_ts>
          <short_desc>upload restrictions prevent .patch or .txt files</short_desc>
          <delta_ts>2012-06-20 17:10:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>Wiki</product>
          <component>wiki</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Q2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tom Zanussi">tom.zanussi</reporter>
          <assigned_to name="Michael Halstead">mhalstead</assigned_to>
          <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22424</commentid>
    <comment_count>0</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-06-20 14:57:30 +0000</bug_when>
    <thetext>I wanted to upload and link to a .patch file in one of my wiki pages, but the upload facility wouldn&apos;t let me:

Permitted file types: png, gif, jpg, jpeg, doc, xls, mpp, ods, odt, pdf, ppt, tiff, bmp, docx, xlsx, mov, pptx, ps.

So I renamed the patch file to have a .doc extension, but then got a warning that  I couldn&apos;t upload a .doc file because Internet Explorer doesn&apos;t like it:

Cannot upload this file because Internet Explorer would detect it as &quot;application/msword&quot;, which is a disallowed and potentially dangerous file type.

This despite the fact that .doc is listed as a valid extension above.

In the end I had to rename my .patch file as a .docx, then write a note to the user that it wasn&apos;t actually a .docx file.

Also, the &apos;Ignore any warnings&apos; checkbox apparently doesn&apos;t do anything since checking it didn&apos;t ignore those warnings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22435</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2012-06-20 17:10:33 +0000</bug_when>
    <thetext>I have configured the wiki to allow the file types requested.


The &quot;application/msword&quot; MIME type is currently blacklisted because it could be used to spread malicious code. This will be addressed in an update to Mediawiki.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>