Add support to https protocol for logo

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114691 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
evenisse
2004-02-09 11:37:16 +00:00
parent 0cd45b7f79
commit e886ab6b5c

View File

@@ -80,7 +80,7 @@
</j:if>
<!-- set image to relative or complete -->
<j:set var="image" value="${pom.organization.logo}"/>
<j:if test="${!image.startsWith('http://')}">
<j:if test="${!image.startsWith('http://') and !image.startsWith('https://')}">
<j:set var="image" value="${relativePath}${image}"/>
</j:if>
<a href="${home}" id="organizationLogo">
@@ -93,7 +93,7 @@
<j:if test="${logo != null and logo != ''}">
<!-- set image to relative or complete -->
<j:set var="image" value="${pom.logo}"/>
<j:if test="${!image.startsWith('http://')}">
<j:if test="${!image.startsWith('http://') and !image.startsWith('https://')}">
<j:set var="image" value="${relativePath}${image}"/>
</j:if>