mediagoblin-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GMG-Devel] Bug in media types extension parsing


From: Sebastian Spaeth
Subject: Re: [GMG-Devel] Bug in media types extension parsing
Date: Tue, 07 Jul 2015 08:16:31 +0200
User-agent: K-9 Mail for Android

But this fix would enable the paraing of hidden files, such as .sekretporn.mp4. Is this change of behavior what we want???

Sebastian

Am 13. März 2015 18:00:52 MEZ, schrieb Michael Macnair <address@hidden>:
As requested on IRC because bug tracker registration is disabled:

media_types/__init__.py:109:
    if filename.find('.') > 0:
should be:
    if filename.find('.') >= 0:

Because otherwise files of the form "./blah.mp4" don't work, which happens with the localfiles plugin.

Ditto for line 87.

Cheers,
Michael



devel mailing list
address@hidden
http://lists.mediagoblin.org/listinfo/devel

--
Sent from mobile phone. Please excuse brevity.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]