[pacman-dev] Mime-type filtering?
Dan McGee
dpmcgee at gmail.com
Mon Jun 29 19:36:32 EDT 2009
On Mon, Jun 29, 2009 at 10:56 AM, Aaron Griffin<aaronmgriffin at gmail.com> wrote:
> On Mon, Jun 29, 2009 at 6:41 AM, Xavier<shiningxc at gmail.com> wrote:
>> On Tue, Mar 24, 2009 at 12:18 AM, Dan McGee<dpmcgee at gmail.com> wrote:
>>> On Mon, Mar 23, 2009 at 5:14 PM, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
>>>> On Mon, Mar 23, 2009 at 5:11 PM, Dan McGee <dpmcgee at gmail.com> wrote:
>>>>> 2009/3/23 Samed Beyribey <ras0ir at eventualis.org>:
>>>>>> Well i just noticed that, (probably) mailman rejects my attachment (it
>>>>>> was 9.5k)
>>>>>> so i've put it on my web site:
>>>>>> http://eventualis.org/pacman/0001-fixed-typos-and-alignment-problem-in-Turkish-transla.patch.gz
>>>>>>
>>>>>> This is my last mail about this patch, again, i feel so sorry.
>>>>>
>>>>> This isn't your fault.
>>>>>
>>>>> Aaron, do we not allow gzipped and bzipped files through?
>>>>
>>>> I guess not. What's the mime-type for these? Considering mailman uses
>>>> a whitelist, would anyone be able to construct a decent list that
>>>> covers pretty much all attachment types we'd want?
>>>
>>> Thanks for changing the subject, btw. Here is a simple look at that
>>> patch, gzipped and additionally unzipped and converted to bzip2.
>>>
>>> dmcgee at galway /tmp
>>> $ file --mime-type patch.gz
>>> patch.gz: application/x-gzip
>>>
>>> dmcgee at galway /tmp
>>> $ file --mime-type patch.bz2
>>> patch.bz2: application/x-bzip2
>>
>>
>> bump :)
>
> Allowed attachments:
> multipart/mixed
> multipart/alternative
> message/rfc822
> text/plain
> multipart/signed
> application/pgp-signature
> application/octet-stream
> application/x-tar
> application/x-tgz
> application/x-gzip
> application/x-bzip-compressed-tar
> application/x-bzip2
As an FYI, I added the last 5 this morning, but for this list (as
opposed to the arch-* lists), we can probably allow everything through
as I haven't seen rampant abuse.
-Dan
More information about the pacman-dev
mailing list