browse-everything
browse-everything copied to clipboard
Error page from box get stored as content
When the link expires and we get an invalid page it looks like the import has run successfully for box
This error page is stored in ScholarSphere:
.
<div class="error_box">
<a href="http://www.box.com" onmousedown="return false;"><img src="https://static.box.com/bc/error/img/logo150.png" alt="Box.com"></a>
<div class="message">
The link you're trying to access can't be used to share files. Please ask the file owner to provide you with a shared link instead.
<a href="http://www.box.com/help"> Contact Box Support if you need help. </a>
</div>
</div>
👊
@cam156 the expiration time seems to be in the link header:
https://github.com/projecthydra/browse-everything/blob/master/lib/browse_everything/driver/box.rb#L41
I don't know if we're setting the expiration time, or if that's the time required by Box.