Index: /gsdl/trunk/perllib/plugins/HTMLPlugin.pm
===================================================================
--- /gsdl/trunk/perllib/plugins/HTMLPlugin.pm (revision 18625)
+++ /gsdl/trunk/perllib/plugins/HTMLPlugin.pm (revision 18626)
@@ -714,5 +714,5 @@
if(defined $dirname) { # local directory
$dirname = $self->eval_dir_dots($dirname);
- $dirname .= "/" if $dirname ne ""; # if there's a directory, it should end on "/"
+ $dirname .= &util::get_dirsep() if $dirname ne ""; # if there's a directory, it should end on "/"
$web_url = $web_url.$dirname.$utf8_file;
} else {