Skip to content

Commit

Permalink
Promote check for '%' in @Location attributes to production now that …
Browse files Browse the repository at this point in the history
…the last entity using the construct has been fixed.
  • Loading branch information
iay committed Nov 19, 2012
1 parent f6ebefc commit 72e416b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
11 changes: 11 additions & 0 deletions build/check_misc.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,17 @@
</xsl:template>


<!--
Check for endpoint locations that include a '%' character,
which is symptomatic of their being URL-encoded instead of entity-encoded.
-->
<xsl:template match="@Location[contains(., '%')]">
<xsl:call-template name="error">
<xsl:with-param name="m">URL-encoded Location attribute; should be entity-encoded</xsl:with-param>
</xsl:call-template>
</xsl:template>


<!--
Check for Locations that don't start with https://
Expand Down
11 changes: 0 additions & 11 deletions mdx/check_future_3.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,4 @@
<xsl:import href="../build/check_framework.xsl"/>


<!--
Check for endpoint locations that include a '%' character,
which is symptomatic of their being URL-encoded instead of entity-encoded.
-->

<xsl:template match="@Location[contains(., '%')]">
<xsl:call-template name="error">
<xsl:with-param name="m">URL-encoded Location attribute; should be entity-encoded</xsl:with-param>
</xsl:call-template>
</xsl:template>

</xsl:stylesheet>

0 comments on commit 72e416b

Please sign in to comment.