Changeset 18403 for gsdl


Ignore:
Timestamp:
01/16/09 15:24:53 (12 years ago)
Author:
ak19
Message:

Needed to pass the current file_rename_method to subroutine filename_to_url.

File:
1 edited

Legend:

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

    r17059 r18403  
    188188    # The images that will get generated may contain percent signs in their src filenames
    189189    # Encode those percent signs themselves so that urls to the imgs refer to them correctly
    190     my $url_to_filehead = &unicode::filename_to_url($filehead);
    191     my $url_to_filename_no_path = &unicode::filename_to_url($filename_no_path);
     190    my $url_to_filehead = &unicode::filename_to_url($filehead, $self->{'file_rename_method'});
     191    my $url_to_filename_no_path = &unicode::filename_to_url($filename_no_path, $self->{'file_rename_method'});
    192192   
    193193    # Convert the image to a new type (if required).
Note: See TracChangeset for help on using the changeset viewer.