Changeset 18403 for gsdl

Show
Ignore:
Timestamp:
16.01.2009 15:24:53 (11 years ago)
Author:
ak19
Message:

Needed to pass the current file_rename_method to subroutine filename_to_url.

Files:
1 modified

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).