LP#1902965: change format type in XML transform to avoid XSS in SuperCat
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Mon, 9 Nov 2020 23:17:07 +0000 (15:17 -0800)
committerJane Sandberg <sandbej@linnbenton.edu>
Wed, 31 Mar 2021 18:41:15 +0000 (11:41 -0700)
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/xsl/MARC21slim2ATOM.xsl

index 05914d9..0e6e800 100644 (file)
@@ -67,7 +67,7 @@
                        </xsl:for-each>
 
                        <xsl:for-each select="marc:datafield[@tag=260]">
-                               <rights type="html">
+                               <rights>
                                        <xsl:text>&#169; </xsl:text>
                                        <xsl:call-template name="subfieldSelect">
                                                <xsl:with-param name="codes">c</xsl:with-param>