Changeset 22652 for main


Ignore:
Timestamp:
2010-08-17T16:39:23+12:00 (14 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.

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.