mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00
DS-992 Specify encoding scheme for URL encode (XMLUI)
This commit is contained in:
@@ -65,12 +65,12 @@
|
||||
<xsl:text>ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&</xsl:text>
|
||||
<xsl:for-each select=".//dim:field[@element = 'identifier']">
|
||||
<xsl:text>rft_id=</xsl:text>
|
||||
<xsl:value-of select="encoder:encode(string(.))"/>
|
||||
<xsl:value-of select="encoder:encode(string(.), 'UTF-8')"/>
|
||||
<xsl:text>&</xsl:text>
|
||||
</xsl:for-each>
|
||||
<xsl:text>rfr_id=info%3Asid%2Fdspace.org%3Arepository&</xsl:text>
|
||||
<xsl:for-each select=".//dim:field[@element != 'description' and @mdschema !='dc' and @qualifier != 'provenance']">
|
||||
<xsl:value-of select="concat('rft.', @element,'=',encoder:encode(string(.))) "/>
|
||||
<xsl:value-of select="concat('rft.', @element,'=',encoder:encode(string(.), 'UTF-8')) "/>
|
||||
<xsl:if test="position()!=last()">
|
||||
<xsl:text>&</xsl:text>
|
||||
</xsl:if>
|
||||
|
@@ -1006,7 +1006,7 @@
|
||||
<xsl:text>ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&</xsl:text>
|
||||
<xsl:for-each select=".//dim:field[@element = 'identifier']">
|
||||
<xsl:text>rft_id=</xsl:text>
|
||||
<xsl:value-of select="encoder:encode(string(.))"/>
|
||||
<xsl:value-of select="encoder:encode(string(.), 'UTF-8')"/>
|
||||
<xsl:text>&</xsl:text>
|
||||
</xsl:for-each>
|
||||
<xsl:text>rfr_id=info%3Asid%2Fdspace.org%3Arepository&</xsl:text>
|
||||
@@ -1017,10 +1017,10 @@
|
||||
|
||||
<xsl:choose>
|
||||
<xsl:when test="@element = 'contributor' and @qualifier='author'">
|
||||
<xsl:value-of select="concat('rft.', 'creator','=',encoder:encode(string(.))) "/>
|
||||
<xsl:value-of select="concat('rft.', 'creator','=',encoder:encode(string(.), 'UTF-8')) "/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="concat('rft.', @element,'=',encoder:encode(string(.))) "/>
|
||||
<xsl:value-of select="concat('rft.', @element,'=',encoder:encode(string(.), 'UTF-8')) "/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
|
||||
|
Reference in New Issue
Block a user