Ignore:
Timestamp:
2008-07-29T13:29:21+12:00 (16 years ago)
Author:
ak19
Message:

Shared subroutine tmp_area_convert_file now ensures that the tailname of the file is utf8 by calling superclass BasePlugin's filepath_to_utf8 on it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/CONTENTdmPlugin.pm

    r16392 r16580  
    489489    $tailname =~ s/\.+//g;
    490490    $tailname =~ s/\-+//g;
     491
     492    $tailname = $self->SUPER::filepath_to_utf8($tailname) unless &unicode::check_is_utf8($tailname);
    491493    $suffix = lc($suffix);
    492494    my $tmp_filename = &util::filename_cat($tmp_dirname, "$tailname$suffix");
Note: See TracChangeset for help on using the changeset viewer.