Opened 11 years ago
Closed 11 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: |
Description
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.
Attachments (2)
Change History (5)
by , 11 years ago
| Attachment: | file_extension.patch added |
|---|
comment:1 by , 11 years ago
| Milestone: | → 0.8.0 |
|---|
by , 11 years ago
| Attachment: | issue_5068.patch added |
|---|
Note:
See TracTickets
for help on using tickets.

Fix