Opened 9 years ago

Closed 9 years ago

#5068 closed defect (fixed)

File extension matching fails with relative paths

Reported by: anongoblin Owned by:
Priority: major Milestone: 0.8.0
Component: programming Keywords:
Cc: Parent Tickets:


    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.

Attachments (2)

file_extension.patch (834 bytes ) - added by anongoblin 9 years ago.
issue_5068.patch (1.1 KB ) - added by Boris Bobrov 9 years ago.

Download all attachments as: .zip

Change History (5)

by anongoblin, 9 years ago

Attachment: file_extension.patch added


comment:1 by ayleph, 9 years ago

Milestone: 0.8.0

by Boris Bobrov, 9 years ago

Attachment: issue_5068.patch added

comment:2 by Boris Bobrov, 9 years ago

Status: newreview

Could you please test the fix above?

comment:3 by Christopher Allan Webber, 9 years ago

Resolution: fixed
Status: reviewclosed


Note: See TracTickets for help on using tickets.