Changeset 13544


Ignore:
Timestamp:
2007-01-08T16:46:57+13:00 (15 years ago)
Author:
shaoqun
Message:

it seems that the replacement of spaces with %20 is unnecessary, so commented it out

Location:
trunk/gsdl/perllib/plugins
Files:
2 edited

Legend:

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

    r13524 r13544  
    352352    my $url =$file; # the new file name prepared for a url
    353353    my $srcurl = $srcfile;
    354     $url =~ s/ /%20/g;
    355     $srcurl =~ s/ /%20/g;
     354    ##$url =~ s/ /%20/g;
     355    ##$srcurl =~ s/ /%20/g;
    356356   
    357357    $doc_obj->add_metadata ($section, "Image", $url);
  • trunk/gsdl/perllib/plugins/UnknownPlug.pm

    r13269 r13544  
    136136    return 0 if ($file eq "" || $filename eq "");
    137137
    138     # Add the image metadata
     138   
    139139    my $url = $file;
    140     $url =~ s/ /%20/g;
     140    ##$url =~ s/ /%20/g;
    141141
    142142    # Add the file as an associated file ...
Note: See TracChangeset for help on using the changeset viewer.