The ORE Dissimenator incorrectly escapes the forward slash character.
---------------------------------------------------------------------

                 Key: DS-1014
                 URL: https://jira.duraspace.org/browse/DS-1014
             Project: DSpace
          Issue Type: Bug
          Components: OAI-PMH
    Affects Versions: 1.7.2, 1.7.1, 1.7.0, 1.6.2, 1.6.0
            Reporter: Scott Phillips
            Assignee: Scott Phillips


When the OREDimmisemantor generates links to individual bitstreams it has a 
function to prepare the url for inclusion in the ORE document, escaping special 
characters suitable for a URL. That function escapes the forward slash 
character, which in the DSpace environment should not be replaced. 

Here's an example of the problem:
http://repository.tamu.edu/dspace-oai/request?verb=GetRecord&metadataPrefix=ore&identifier=oai:repository.tamu.edu:1969.1/94022

The links generated in the example below escape forward slashes with "%2f", to 
produce a URL looking like:
http://repository.tamu.edu//bitstream/handle/1969.1/94022/thumbs%2fpl_tamu_018_00001.jpg?sequence=3559

but that url produces a file not found because Cocoon and the XMLUI can't 
handle the escaping of forward slashes. Instead this URL is resolvable:
http://repository.tamu.edu//bitstream/handle/1969.1/94022/thumbs/pl_tamu_018_00001.jpg?sequence=3559


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to