Skip to content

Commit

Permalink
Check for Scope values that contain space characters. This isn't forb…
Browse files Browse the repository at this point in the history
…idden by the specification, but is assumed by some software.
  • Loading branch information
iay committed Mar 25, 2010
1 parent 6c993c7 commit 202c31a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build/check_shibboleth.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,16 @@
</xsl:template>


<!--
Scope elements should not contain space characters.
This isn't part of the specification, but is assumed by some software.
-->
<xsl:template match="shibmd:Scope[contains(., ' ')]">
<xsl:call-template name="fatal">
<xsl:with-param name="m">Scope value contains space character</xsl:with-param>
</xsl:call-template>
</xsl:template>


</xsl:stylesheet>

0 comments on commit 202c31a

Please sign in to comment.