Changeset 22652

Show
Ignore:
Timestamp:
17.08.2010 16:39:23 (9 years ago)
Author:
mdewsnip
Message:

Removed call to ghtml::dmsafe() from BasePlugin::filename_to_utf8_metadata(). This shouldn't be done in the build time code because it is a runtime issue -- if you aren't using the Greenstone 2 receptionist (e.g OAI server, Greenstone 3) then escaping underscores just creates problems.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/BasePlugin.pm

    r22632 r22652  
    635635    my ($filemeta) = $file =~ /([^\\\/]+)$/; # getting the tail of the filepath (skips all string parts containing slashes upto the end) 
    636636    $filemeta = $self->filepath_to_utf8($filemeta, $file_encoding); 
    637      
    638     my $dmsafe_filemeta = &ghtml::dmsafe($filemeta); 
    639  
    640     return $dmsafe_filemeta; 
    641  
     637 
     638    return $filemeta; 
    642639} 
    643640