Skip to content

Commit

Permalink
Flag XML comments appearing inside X509Certificate elements. These ca…
Browse files Browse the repository at this point in the history
…use problems for (at least) Shibboleth 1.3f, but probably other software as well.
  • Loading branch information
iay committed Jun 2, 2010
1 parent 2afc2c5 commit 5679c2e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build/check_shibboleth.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,14 @@
</xsl:template>


<!--
The Shibboleth 1.3f SP, probably along with other software, has
problems with comments inside certificate representations.
-->
<xsl:template match="ds:X509Certificate[comment()]">
<xsl:call-template name="fatal">
<xsl:with-param name="m">X509Certificate contains XML comment</xsl:with-param>
</xsl:call-template>
</xsl:template>

</xsl:stylesheet>

0 comments on commit 5679c2e

Please sign in to comment.