Index: /gsdl/trunk/perllib/plugins/OggVorbisPlugin.pm
===================================================================
--- /gsdl/trunk/perllib/plugins/OggVorbisPlugin.pm (revision 16920)
+++ /gsdl/trunk/perllib/plugins/OggVorbisPlugin.pm (revision 16921)
@@ -125,5 +125,5 @@
$doc_obj->add_metadata ($top_section, "FileFormat", "OggVorbis");
- $doc_obj->add_metadata ($top_section, "srclink", "");
+ $doc_obj->add_metadata ($top_section, "srclink", "");
$doc_obj->add_metadata ($top_section, "/srclink", "");
# srcicon (need to include "iogg.gif" in the greenstone images directory
Index: /gsdl/trunk/perllib/plugins/RealMediaPlugin.pm
===================================================================
--- /gsdl/trunk/perllib/plugins/RealMediaPlugin.pm (revision 16920)
+++ /gsdl/trunk/perllib/plugins/RealMediaPlugin.pm (revision 16921)
@@ -101,10 +101,12 @@
$doc_obj->add_metadata($top_section, "FileFormat", "RealMedia");
- $doc_obj->add_metadata($top_section, "srclink", "");
+ $doc_obj->add_metadata($top_section, "srclink", "");
$doc_obj->add_metadata($top_section, "/srclink", "");
# srcicon (need to include "irmvideo.gif" in the greenstone images directory
$doc_obj->add_metadata($top_section, "srcicon", "");
- # Add the actual file as an associated file
+ # Add the actual filename as it exists on the file system as an associated file
+ # by making sure we undo any URL-encoding escaping there may be
+ $filename_no_path =~ s/%25/%/g;
$doc_obj->associate_file($filename_full_path, $filename_no_path, "RealMedia", $top_section);