<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
The frontend appears to mangle any file_version URIs whose scheme isn’t http:
<div class=""><br class="">
</div>
<div class=""> uva-lib:01234567 is transformed into <a href="file:///01234567" class="">
file://01234567</a> </div>
<div class=""><br class="">
</div>
<div class="">file_versions remain correct according to backend API. Just getting mangled in frontend view. </div>
<div class=""><br class="">
</div>
<div class="">This appears to me to be a bug, but as it looks intentional, I’m wondering if there is some use case for this behavior? </div>
<div class="">i.e. any reason not to remove this: </div>
<div class=""><br class="">
</div>
<div class=""><a href="https://github.com/archivesspace/archivesspace/blob/master/frontend/app/views/file_versions/_show.html.erb#L26" class="">archivesspace/_show.html.erb at master · archivesspace/archivesspace</a></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><a href="https://github.com/archivesspace/archivesspace/blob/master/frontend/app/helpers/file_embed_helper.rb" class="">archivesspace/file_embed_helper.rb at master · archivesspace/archivesspace</a></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">— Steve Majewski</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
</body>
</html>