Ignore:
Timestamp:
2009-01-16T18:23:59+13:00 (15 years ago)
Author:
ak19
Message:
  1. BasePlugin's file_rename_method option changed from inherited to none; 2. unicode::filename_to_url subroutine no longer takes rename_method as a parameter (back to how it was before).
File:
1 edited

Legend:

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

    r18398 r18404  
    5252      { 'name' => "base64",
    5353    'desc' => "{BasePlugin.rename_method.base64}" },
    54       { 'name' => "inherited",
    55     'desc' => "{BasePlugin.rename_method.inherited}",
     54      { 'name' => "none",
     55    'desc' => "{BasePlugin.rename_method.none}",
    5656    'hiddengli' => "yes" } ];
    5757
     
    776776    # If using URL encoding, then SourceFile is the url-reference to url-encoded
    777777    # filemeta: it's a url that refers to the actual file on the system
    778     $filemeta = &unicode::filename_to_url($filemeta, $self->{'file_rename_method'});
     778    $filemeta = &unicode::filename_to_url($filemeta);
    779779
    780780    $doc_obj->set_utf8_metadata_element($top_section, "SourceFile", $filemeta);
     
    10431043        # If the filename is url_encoded, we need to encode the % signs
    10441044        # in the filename, so that it works in a url
    1045         my $url_tail_filename = &unicode::filename_to_url($tail_filename, $self->{'file_rename_method'});
     1045        my $url_tail_filename = &unicode::filename_to_url($tail_filename);
    10461046        # work out extended tail extension (i.e. matching tail re)
    10471047
Note: See TracChangeset for help on using the changeset viewer.