1
0
mirror of https://github.com/apache/httpd.git synced 2025-12-24 15:01:03 +03:00

fix context abbreviation code

it didn't work properly if there's a newline inside of a context
(instead of a single space), so some <context>virtual
host</context> were lost.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97141 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
André Malo
2002-10-08 02:48:22 +00:00
parent 22a342b1ea
commit 08a1c36c03
2 changed files with 10 additions and 10 deletions

View File

@@ -117,10 +117,10 @@
</td>
<td>
<xsl:if test="contextlist/* = 'server config'">s</xsl:if>
<xsl:if test="contextlist/* = 'virtual host'">v</xsl:if>
<xsl:if test="contextlist/* = 'directory'">d</xsl:if>
<xsl:if test="contextlist/* = '.htaccess'">h</xsl:if>
<xsl:if test="contextlist/context[normalize-space(.)='server config']">s</xsl:if>
<xsl:if test="contextlist/context[normalize-space(.)='virtual host']">v</xsl:if>
<xsl:if test="contextlist/context[normalize-space(.)='directory']">d</xsl:if>
<xsl:if test="contextlist/context[normalize-space(.)='.htaccess']">h</xsl:if>
</td>
<td>