<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Thanks Andrew! That was indeed the issue—we had a modified _digital.html.erb file in our plugin for the public front end, definitely from an earlier release. Not sure why it was there, but hopefully this issue will be resolved once our
hosting service removes it.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cheers,<o:p></o:p></p>
<p class="MsoNormal">--Benn <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org>
<b>On Behalf Of </b>Andrew Morrison<br>
<b>Sent:</b> Monday, April 11, 2022 2:46 AM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] "?" being added unexpectedly to Digital Object File URIs<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>You say your system in running 2.8.1. But does it have any plug-ins installed which contain a modified _digital.html.erb template based on an older release? A question mark is added by web browsers when submitting a HTML form with no input fields. And that
is exactly what the non-thumbnail digital object button was until the 2.3.0 release, when this change was made:<o:p></o:p></p>
<p><a href="https://urldefense.com/v3/__https:/github.com/archivesspace/archivesspace/pull/1072__;!!Dq0X2DkFhyF93HkjWTBQKhk!C1dTr5bIHKA2lrxgVlJ7XPePanGqtqT8FHXFKzfjR2nzCqJ0uvMGuCZXCyJll0Yjs_YkabN6$">https://github.com/archivesspace/archivesspace/pull/1072</a><o:p></o:p></p>
<p>Andrew.<o:p></o:p></p>
<p><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 06/04/2022 17:03, Benn Joseph wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal">We just discovered something unexpected when creating Digital Object Instances, which is that when a DO Instance is constructed
<i>without</i> a thumbnail URL--i.e. the DO Instance just has a single file version and it’s the link to the actual thing—ArchivesSpace adds a “?” to the end of that URL when a user clicks on it in the public interface. For instance, if the File URI is “<a href="https://urldefense.com/v3/__http:/www.cnn.com**B__;4oCd!!Dq0X2DkFhyF93HkjWTBQKhk!C1dTr5bIHKA2lrxgVlJ7XPePanGqtqT8FHXFKzfjR2nzCqJ0uvMGuCZXCyJll0Yjs54P-pEk$">http://www.cnn.com”</a>,
then clicking this link in the PUI will take you to “<a href="https://urldefense.com/v3/__http:/www.cnn.com/?**B__;4oCd!!Dq0X2DkFhyF93HkjWTBQKhk!C1dTr5bIHKA2lrxgVlJ7XPePanGqtqT8FHXFKzfjR2nzCqJ0uvMGuCZXCyJll0YjszaW0NHE$">http://www.cnn.com/?”</a> .
<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">The CNN website still works with that question mark, but when we use an ARK to link to a record in our digital repository,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">“<a href="https://urldefense.com/v3/__https:/n2t.net/ark:/81985/n2dr2rt09**B__;4oCd!!Dq0X2DkFhyF93HkjWTBQKhk!C1dTr5bIHKA2lrxgVlJ7XPePanGqtqT8FHXFKzfjR2nzCqJ0uvMGuCZXCyJll0Yjs4pt54r3$">https://n2t.net/ark:/81985/n2dr2rt09”</a><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">becomes<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">“<a href="https://urldefense.com/v3/__https:/n2t.net/ark:/81985/n2dr2rt09?**B__;4oCd!!Dq0X2DkFhyF93HkjWTBQKhk!C1dTr5bIHKA2lrxgVlJ7XPePanGqtqT8FHXFKzfjR2nzCqJ0uvMGuCZXCyJll0YjszuPNiAW$">https://n2t.net/ark:/81985/n2dr2rt09?”</a><o:p></o:p></p>
<p class="MsoNormal">…which is an entirely separate page.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Is this a bug, or is this supposed to be happening? If it’s a bug I can submit a ticket. We’re on version 2.8.1.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">--Benn <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#0D0D0D">Benn Joseph
</span></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#0D0D0D">(he/him/his)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#0D0D0D">Head, Collections Services</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#0D0D0D">McCormick Library of Special Collections & University Archives</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#0D0D0D">Northwestern University Libraries</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#4E2A84">Northwestern University</span><o:p></o:p></p>
<p class="MsoNormal"><a href="www.library.northwestern.edu"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:windowtext">www.library.northwestern.edu</span></a><o:p></o:p></p>
<p class="MsoNormal"><a href="mailto:benn.joseph@northwestern.edu%0d"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:windowtext">benn.joseph@northwestern.edu</span></a><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#0D0D0D">847.467.6581</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Archivesspace_Users_Group mailing list<o:p></o:p></pre>
<pre><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><o:p></o:p></pre>
<pre><a href="https://urldefense.com/v3/__http:/lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group__;!!Dq0X2DkFhyF93HkjWTBQKhk!C1dTr5bIHKA2lrxgVlJ7XPePanGqtqT8FHXFKzfjR2nzCqJ0uvMGuCZXCyJll0Yjsy9oIlVU$">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><o:p></o:p></pre>
</blockquote>
</div>
</body>
</html>