Skip to content

Commit

Permalink
Scope elements should not contain line breaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Sep 14, 2011
1 parent 8de3480 commit c141441
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build/check_shibboleth.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,19 @@
</xsl:template>


<!--
Scope elements should not contain line breaks.
This isn't part of the specification, but is assumed by some software,
including the Shibboleth 2.4.3 SP.
-->
<xsl:template match="shibmd:Scope[contains(., '&#10;')]">
<xsl:call-template name="error">
<xsl:with-param name="m">Scope value contains line break</xsl:with-param>
</xsl:call-template>
</xsl:template>


<!--
The Shibboleth 1.3f SP, probably along with other software, has
problems with comments inside certificate representations.
Expand Down

0 comments on commit c141441

Please sign in to comment.