Closed (fixed)
Project:
D7 Media
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2011 at 14:31 UTC
Updated:
25 Apr 2011 at 06:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
recrit commentedthe attached patch addresses the input parsing issue.
Comment #2
recrit commentedupdating patch - making both inputs split on spaces only and adding array_filter() to remove empty inputs
Comment #3
recrit commented- re-rolling as relative so that it can be applied with drush make. (@see http://drupal.org/node/1054616#comment-4152234)
- adding trimming operation to input parsing
Comment #4
eclipsegc commentedsub
Comment #5
JacobSingh commentedThis looks good, but I re-wrote it a bit in a format which doesn't use a regex or loops. I also added some docs. In general, this type definition screen is screwy. I'd like to do more to it, but this will help.
Does this also work for you?
Comment #6
recrit commentedworks for me. This looks good for a quick/hot fix for now, but I agree for having a better form for these settings.
Possibly a multi-select list of the allowed file extensions.
Comment #7
JacobSingh commentedFixed! Thanks :)
http://drupalcode.org/project/media.git/commit/c050764ead1851dffea7ceb7f...