Ignore:
Timestamp:
2008-08-15T17:47:28+12:00 (16 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

File:
1 edited

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