Changeset 1605

Show
Ignore:
Timestamp:
08/27/06 01:26:37
Author:
miyagawa
Message:

fixed bug with Plagger::Util::mime_type_of to deal with dots in betweeen the filename itself

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Util.pm

    r1593 r1605  
    140140 
    141141    if (UNIVERSAL::isa($ext, 'URI')) { 
    142         $ext = ( $ext->path =~ /\.(\w+)/ )[0]; 
     142        $ext = ( $ext->path =~ /\.(\w+)$/ )[0]; 
    143143    } 
    144144