Changeset 31480 for main/trunk/greenstone2/perllib/plugins/HTMLPlugin.pm
- Timestamp:
- 2017-03-09T14:35:57+13:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/HTMLPlugin.pm
r31446 r31480 290 290 if($unicode_url_original_filename ne $unicode_html_fname) { 291 291 # Allow for possibility of raw byte version and Unicode versions of file 292 &util::block_filename($block_hash,$unicode_url_original_filename);292 $self->block_filename($block_hash,$unicode_url_original_filename); 293 293 } 294 294 } 295 295 296 296 # $url_original_filename = &util::upgrade_if_dos_filename($url_original_filename); 297 &util::block_filename($block_hash,$url_original_filename) if $url_original_filename ne $html_fname; 297 # TODO now use unicode files in block, do we need this?? 298 #$self->block_raw_filename($block_hash,$url_original_filename) if $url_original_filename ne $html_fname; 298 299 299 300 # but only add the linked file to the blocklist if the current html file does not link to itself … … 1292 1293 $unicode_dirname = &unicode::raw_filename_to_url_encoded($dirname); 1293 1294 } 1294 1295 print STDERR "unicode dirname = ".&unicode::debug_unicode_string($unicode_dirname)."\n"; 1295 1296 $before_hash = &FileUtils::filenameConcatenate($unicode_dirname, $before_hash); 1296 1297 $before_hash = $self->eval_dir_dots($before_hash);
Note:
See TracChangeset
for help on using the changeset viewer.