Correct urls generation when there is a trailing slash (thanks to sourceforge

for the homework;)
This commit is contained in:
Pierre Labastie 2014-05-07 15:30:33 +00:00
parent cbfba99325
commit 719d0fc0a3

View file

@ -117,7 +117,7 @@
<xsl:template name="package.name">
<xsl:param name="url"/>
<xsl:choose>
<xsl:when test="contains($url, '/')">
<xsl:when test="contains($url, '/') and not (substring-after($url,'/')='')">
<xsl:call-template name="package.name">
<xsl:with-param name="url" select="substring-after($url, '/')"/>
</xsl:call-template>