The bitstream shown at  
http://dataspace.princeton.edu/jspui/handle/88435/dsp01xp68kj53b 
<http://dataspace.princeton.edu/jspui/handle/88435/dsp01xp68kj53b> does not 
download correctly. This is JSPUI

The bitstream has lots of UTF8 chars: Панкратова_М_Н_2007.pdf
It links to  
http://dataspace.princeton.edu/jspui/bitstream/88435/dsp01xp68kj53b/1/%d0%9f%d0%b0%d0%bd%d0%ba%d1%80%d0%b0%d1%82%d0%be%d0%b2%d0%b0_%d0%9c_%d0%9d_2007.pdf
which correctly  decides to 
http://dataspace.princeton.edu/jspui/bitstream/88435/dsp01xp68kj53b/1/Панкратова_М_Н_2007.pdf


I set myself up to debug the issue on my laptop where I deal with 

http://localhost:8080/jspui/bitstream/88435/dsp01xp68kj53b/1/%D0%9F%D0%B0%D0%BD%D0%BA%D1%80%D0%B0%D1%82%D0%BE%D0%B2%D0%B0_%D0%9C_%D0%9D_2007.pdf
http://localhost:8080/jspui/bitstream/88435/dsp01xp68kj53b/1/Панкратова_М_Н_2007.pdf

I noticed that the HttpServletRequest request, that is passed to the 
ReferredObjects  constructor, contains the correct path in the coyoteRequest 
and in attributes[‘dspace.original.url’] along with a funny looking 
requestDispatchPath value. The code uses the value from the requestDispatchPath 
with the consequence that the comparison with the bitstream’s filename fails 
and the servlet refuses to return the bitstream; here the specifics: 

     attributes   "dspace.original.url" ->      
"http://localhost:8080/jspui/bitstream/88435/dsp01xp68kj53b/1/%D0%9F%D0%B0%D0%BD%D0%BA%D1%80%D0%B0%D1%82%D0%BE%D0%B2%D0%B0_%D0%9C_%D0%9D_2007.pdf”
  

     requestDispatchPath = 
/bitstream/88435/dsp01xp68kj53b/1/Панкратова_М_Р_2007.pdf
     coyoteRequest = R( 
/jspui/bitstream/88435/dsp01xp68kj53b/1/%D0%9F%D0%B0%D0%BD%D0%BA%D1%80%D0%B0%D1%82%D0%BE%D0%B2%D0%B0_%D0%9C_%D0%9D_2007.pdf)

Can anybody explain this behavior ?

Monika

 



________________ 
Monika Mevenkamp

[email protected]

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to