Changeset 16837

Show
Ignore:
Timestamp:
15.08.2008 17:47:28 (11 years ago)
Author:
ak19
Message:

Fixing an error introduced in the previous commit: after eval_dir_dots for constructing web_url, make sure there's a slash on the end of any directory name

Files:
1 modified

Legend:

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

    r16836 r16837  
    714714    if(defined $dirname) { # local directory 
    715715    $dirname = $self->eval_dir_dots($dirname); 
     716    $dirname .= "/" if $dirname ne ""; # if there's a directory, it should end on "/" 
    716717    $web_url = $web_url.$dirname.$utf8_file;  
    717718    } else {