Browse Source

Merge pull request #153 from adam-vessey/6.x

6.x
pull/148/merge
Jonathan Green 13 years ago
parent
commit
2489279769
  1. 4
      api/fedora_item.inc

4
api/fedora_item.inc

@ -1118,7 +1118,9 @@ RDF;
$created_temp = TRUE; $created_temp = TRUE;
} }
$file_url = file_create_url($file); $parts = explode(DIRECTORY_SEPARATOR, $file);
$parts = array_map('rawurlencode', $parts);
$file_url = file_create_url(implode(DIRECTORY_SEPARATOR, $parts));
$toReturn = $this->modify_datastream_by_reference($file_url, $dsid, $label, $mime_type, $force, $logMessage); $toReturn = $this->modify_datastream_by_reference($file_url, $dsid, $label, $mime_type, $force, $logMessage);

Loading…
Cancel
Save