Skip to content

Commit

Permalink
Check for https:// locations that use an explicit but redundant port …
Browse files Browse the repository at this point in the history
…specifier.
  • Loading branch information
iay committed Mar 5, 2010
1 parent 52d48b8 commit 88fa954
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build/check_misc.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,22 @@
</xsl:template>


<!--
Check for https:// locations that use an explicit but redundant port specifier.
-->
<xsl:template match="*[@Location and starts-with(@Location, 'https://')
and contains(@Location,':443/')]">
<xsl:call-template name="fatal">
<xsl:with-param name="m">
<xsl:value-of select='local-name()'/>
<xsl:text> Location </xsl:text>
<xsl:value-of select="@Location"/>
<xsl:text> not in standard form</xsl:text>
</xsl:with-param>
</xsl:call-template>
</xsl:template>


<!--
Check for Locations that aren't valid URLs.
-->
Expand Down

0 comments on commit 88fa954

Please sign in to comment.