We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e957c51 commit c142a76Copy full SHA for c142a76
xsl/oval-to-xccdf.xsl
@@ -86,9 +86,9 @@ Authors:
86
</xsl:template>
87
88
<xsl:template match="oval-def:reference[@source='RHSA']">
89
- <xsl:if test="starts-with(@ref_url, 'https://rhn.redhat.com/errata')">
90
- <xccdf:ident system="https://rhn.redhat.com/errata">
91
- <xsl:copy-of select="substring-before(substring-after(@ref_url, 'https://rhn.redhat.com/errata/'), '.html')"/>
+ <xsl:if test="starts-with(@ref_url, 'https://access.redhat.com/errata')">
+ <xccdf:ident system="https://access.redhat.com/errata">
+ <xsl:copy-of select="substring-after(@ref_url, 'https://access.redhat.com/errata/')"/>
92
</xccdf:ident>
93
</xsl:if>
94
0 commit comments